Class: Battle::AI::MoveHeuristicBase::ReflectMoves
- Inherits:
-
MoveHeuristicBase
- Object
- MoveHeuristicBase
- Battle::AI::MoveHeuristicBase::ReflectMoves
- Defined in:
- docs/5_Battle_30_AI_1_MoveHeuristic.rb
Overview
Class describing the heuristic of reflect moves
Instance Method Summary collapse
-
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic.
-
#initialize ⇒ ReflectMoves
constructor
Create a new ReflectMoves Heuristic.
Constructor Details
#initialize ⇒ ReflectMoves
Create a new ReflectMoves Heuristic
475 476 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 475 def initialize end |
Instance Method Details
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic
483 484 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 483 def compute(move, user, target, ai) end |