struct Ability

Defined in:

mechanics/ability.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(timeout : Int32, owner : ECS::Entity, trigger : Int32, tile : Tileset) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def clone #

[View source]
def copy_with(timeout _timeout = @timeout, owner _owner = @owner, trigger _trigger = @trigger, tile _tile = @tile) #

[View source]
def owner : ECS::Entity #

def tile : Tileset #

def timeout : Int32 #

def trigger : Int32 #