Method: Core::Game::MapLoader#message
- Defined in:
- lib/game/map/map_loader.rb
#message(str, x = 256, y = 480, w = 512, h = 224) ⇒ Object
169 170 171 172 173 174 |
# File 'lib/game/map/map_loader.rb', line 169 def (str, x=256, y=480, w=512, h=224) @box.text = str @message = true @box.x, @box.y = x, y @box.w, @box.h = w, h end |