Class: Battle::AI::MoveHeuristicBase::SleepTalk

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

Overview

Class describing the heuristic of the move Sleep Talk

Instance Method Summary collapse

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

Parameters:

Returns:

  • (Float)


145
146
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 145

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