Class: Pathfinding::Target::Character
- Defined in:
- docs/4_Systems_003_Map_Engine.rb
Overview
Character 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
constructor
A new instance of Character.
-
#reached?(x, y, z) ⇒ Boolean
Test if the target is reached at the fiveng coords.
-
#save ⇒ Array<Object>
Gather the savable data.
Constructor Details
#initialize(*args) ⇒ Character
Returns a new instance of Character.
3853 3854 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 3853 def initialize(*args) end |
Class Method Details
.load(data)
Create new target from the given data
3874 3875 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 3874 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
3866 3867 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 3866 def check_move(x, y) end |
#reached?(x, y, z) ⇒ Boolean
Test if the target is reached at the fiveng coords
3860 3861 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 3860 def reached?(x, y, z) end |
#save ⇒ Array<Object>
Gather the savable data
3870 3871 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 3870 def save end |