Class: Battle::AI::MoveHeuristicBase::Endeavor
- Inherits:
-
MoveHeuristicBase
- Object
- MoveHeuristicBase
- Battle::AI::MoveHeuristicBase::Endeavor
- Defined in:
- docs/5_Battle_30_AI_1_MoveHeuristic.rb
Direct Known Subclasses
Constant Summary collapse
- SCALING_FACTOR =
1.5
Instance Method Summary collapse
-
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic for Endeavor.
-
#initialize ⇒ Endeavor
constructor
Create a new Endeavor.
Constructor Details
#initialize ⇒ Endeavor
Create a new Endeavor
513 514 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 513 def initialize end |
Instance Method Details
#compute(move, user, target, ai) ⇒ Float
Compute the heuristic for Endeavor
521 522 |
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 521 def compute(move, user, target, ai) end |