Method: Core::Game::Combat::GUI#initialize

Defined in:
lib/game/combat/gui.rb

#initializeGUI

Returns a new instance of GUI.



11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/game/combat/gui.rb', line 11

def initialize
  @x = 0
  @y = 544
  @z = 5000
  @bg = Core.sprite("gui/battle_infoback")
  @w = {} # Currently shown windows
  @ready = []
  @paused = false
  @chosen = @choose = nil
  @attacking = []
  @casting = []
  @using = []
  @add = {}
end