Class: Battle::AI::MoveHeuristicBase::ReflectMoves
- Inherits:
-
Battle::AI::MoveHeuristicBase
- Object
- Battle::AI::MoveHeuristicBase
- Battle::AI::MoveHeuristicBase::ReflectMoves
- Defined in:
- docs/5_Battle_30_AI_1_MoveHeuristic.rb
Instance Method Summary collapse
-
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic.
-
#initialize ⇒ ReflectMoves
constructor
Create a new Rest Heuristic.
Methods inherited from Battle::AI::MoveHeuristicBase
#ignore_effectiveness?, #ignore_power?, new, #overwrite_move_kind_flag?, register
Constructor Details
#initialize ⇒ ReflectMoves
Create a new Rest Heuristic
103 104 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 103 def initialize end |
Instance Method Details
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic
111 112 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 111 def compute(move, user, target, ai) end |