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