struct HasAI

Defined in:

mechanics/ai.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(mode : AIMode = AIMode::ToPlayer, switch : Int32 = 0) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def clone #

[View source]
def copy_with(mode _mode = @mode, switch _switch = @switch) #

[View source]
def mode : AIMode #

def switch : Int32 #