Class: Core::Game::Combat::Control

Inherits:
Object
  • Object
show all
Defined in:
lib/game/combat/control.rb

Overview

Used for scripted battles (dialogues and stuff)

Instance Method Summary collapse

Constructor Details

#initialize(battle) ⇒ Control

Returns a new instance of Control.



6
7
8
# File 'lib/game/combat/control.rb', line 6

def initialize(battle)
  @battle = nil
end

Instance Method Details

#battle=(b) ⇒ Object



9
10
11
# File 'lib/game/combat/control.rb', line 9

def battle=(b)
  @battle = b
end

#drawObject



14
15
# File 'lib/game/combat/control.rb', line 14

def draw
end

#updateObject



12
13
# File 'lib/game/combat/control.rb', line 12

def update
end