Class: Battle::Actions::HighPriorityItem

Inherits:
Base show all
Defined in:
docs/01600_Alpha_25_Battle_Engine_03000_Actions.rb

Overview

Class describing the activation message of item granting priority

Instance Method Summary collapse

Methods inherited from Base

#valid?

Constructor Details

#initialize(scene, holder) ⇒ HighPriorityItem

Create a new high priority item action

Parameters:



218
219
# File 'docs/01600_Alpha_25_Battle_Engine_03000_Actions.rb', line 218

def initialize(scene, holder)
end

Instance Method Details

#<=>(other) ⇒ Integer

Compare this action with another

Parameters:

  • other (Base)

    other action

Returns:

  • (Integer)


223
224
# File 'docs/01600_Alpha_25_Battle_Engine_03000_Actions.rb', line 223

def <=>(other)
end

#execute

Execute the action



226
227
# File 'docs/01600_Alpha_25_Battle_Engine_03000_Actions.rb', line 226

def execute
end