struct PhysicsCollisionMaps

Defined in:

utils/physics_systems.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(events : Hash(Tuple(PhysicsMaterial, PhysicsMaterial), Tuple(::CollisionComponent.class, Bool)) = Hash(Tuple(PhysicsMaterial, PhysicsMaterial), Tuple(CollisionComponent.class, Bool)).new, processor : Hash(Tuple(PhysicsMaterial, PhysicsMaterial), Tuple(ECS::Entity, ECS::Entity, Engine::CollisionData(Nil)) -> Bool) = Hash(Tuple(PhysicsMaterial, PhysicsMaterial), CollisionProcessor).new) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def clone #

[View source]
def copy_with(events _events = @events, processor _processor = @processor) #

[View source]
def events : Hash({PhysicsMaterial, PhysicsMaterial}, {CollisionComponent.class, Bool}) #

def processor : Hash({PhysicsMaterial, PhysicsMaterial}, {ECS::Entity, ECS::Entity, Engine::CollisionData(Nil)} -> Bool) #