Class: Pathfinding::Target::Character_Reject
- Defined in:
- docs/4_Systems_003_Map_Engine.rb
Overview
Character reject target type
Class Method Summary collapse
-
.load(data)
Create new target from the given data.
Instance Method Summary collapse
-
#check_move(x, y) ⇒ Boolean
Check if the character targetted has moved, considering the distance for optimisation and return true if the target is considered as moved.
-
#initialize(*args) ⇒ Character_Reject
constructor
A new instance of Character_Reject.
-
#reached?(x, y, z) ⇒ Boolean
Test if the target is reached at the given coords.
-
#save ⇒ Array<Object>
Gather the savable data.
Constructor Details
#initialize(*args) ⇒ Character_Reject
Returns a new instance of Character_Reject.
4001 4002 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 4001 def initialize(*args) end |
Class Method Details
.load(data)
Create new target from the given data
4022 4023 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 4022 def self.load(data) end |
Instance Method Details
#check_move(x, y) ⇒ Boolean
Check if the character targetted has moved, considering the distance for optimisation and return true if the target is considered as moved
4014 4015 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 4014 def check_move(x, y) end |
#reached?(x, y, z) ⇒ Boolean
Test if the target is reached at the given coords
4008 4009 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 4008 def reached?(x, y, z) end |
#save ⇒ Array<Object>
Gather the savable data
4018 4019 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 4018 def save end |