Class: Battle::AI::MoveHeuristicBase::TerrainMove
- Inherits:
-
MoveHeuristicBase
- Object
- MoveHeuristicBase
- Battle::AI::MoveHeuristicBase::TerrainMove
- Defined in:
- docs/5_Battle_30_AI_1_MoveHeuristic.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic for TerrainMove.
-
#initialize ⇒ TerrainMove
constructor
Create a new heuristic for TerrainMove.
Constructor Details
#initialize ⇒ TerrainMove
Create a new heuristic for TerrainMove
584 585 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 584 def initialize end |
Instance Method Details
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic for TerrainMove
592 593 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 592 def compute(move, user, target, ai) end |