Class: Battle::AI::MoveHeuristicBase::WeatherMoveSeeItem

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

Overview

AI heuristic for WeatherMove that check if the user hold the corresponding item

Instance Method Summary collapse

Methods inherited from WeatherMove

#initialize

Constructor Details

This class inherits a constructor from Battle::AI::MoveHeuristicBase::WeatherMove

Instance Method Details

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

Compute the heuristic for WeatherMove

Parameters:

Returns:

  • (Float)


648
649
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 648

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