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