Class: Battle::Actions::HighPriorityItem

Inherits:
Base show all
Defined in:
docs/5_Battle_05_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:



224
225
# File 'docs/5_Battle_05_Actions.rb', line 224

def initialize(scene, holder)
end

Instance Method Details

#<=>(other) ⇒ Integer

Compare this action with another

Parameters:

  • other (Base) —

    other action

Returns:

  • (Integer)


229
230
# File 'docs/5_Battle_05_Actions.rb', line 229

def <=>(other)
end

#execute

Execute the action



232
233
# File 'docs/5_Battle_05_Actions.rb', line 232

def execute
end