Class: Battle::AI::MoveHeuristicBase::DreamEater

Inherits:
MoveHeuristicBase
  • Object
show all
Defined in:
docs/5_Battle_30_AI_1_MoveHeuristic.rb

Overview

Class describing the heuristic of the move Dream Eater

Instance Method Summary collapse

Instance Method Details

#compute(move, user, target, ai) ⇒ Float

Compute the heuristic

Parameters:

Returns:

  • (Float)


167
168
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 167

def compute(move, user, target, ai)
end