Class: Battle::AI::MoveHeuristicBase::Snore

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

Overview

Class describing the heuristic of the move Snore

Instance Method Summary collapse

Instance Method Details

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

Compute the heuristic

Parameters:

Returns:

  • (Float)


156
157
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 156

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