Class: Battle::AI::MoveHeuristicBase::TerrainMoveSeeItem
- Inherits:
-
TerrainMove
- Object
- MoveHeuristicBase
- TerrainMove
- Battle::AI::MoveHeuristicBase::TerrainMoveSeeItem
- Defined in:
- docs/5_Battle_30_AI_1_MoveHeuristic.rb
Overview
AI heuristic for TerrainMove that check if the user hold the corresponding item
Instance Method Summary collapse
-
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic for TerrainMove.
Methods inherited from TerrainMove
Constructor Details
This class inherits a constructor from Battle::AI::MoveHeuristicBase::TerrainMove
Instance Method Details
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic for TerrainMove
604 605 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 604 def compute(move, user, target, ai) end |