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