Method: Core::Game::MapLoader#initialize

Defined in:
lib/game/map/map_loader.rb

#initializeMapLoader

Returns a new instance of MapLoader.



10
11
12
13
14
15
16
17
18
19
20
# File 'lib/game/map/map_loader.rb', line 10

def initialize
  @objects = []
  @maps = []
  @misc = []
  @player = Core::Game::Player.new(0, 0)
  @tonepic = Core.sprite("pixel", true)
  @box = Core::GUI::Textfield.new(256, 480, 512, 224, "", 24, :left)
  @message = false
  @xoff = 496
  @yoff = 360
end