struct Shield

Defined in:

mechanics/craft.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(chance : Float64, transform_to : ECS::Entity) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def chance : Float64 #

def clone #

[View source]
def copy_with(chance _chance = @chance, transform_to _transform_to = @transform_to) #

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