struct PhysicsCollisionMaps
- PhysicsCollisionMaps
- ECS::Component
- Struct
- Value
- Object
Defined in:
utils/physics_systems.crConstructors
Class Method Summary
Instance Method Summary
- #clone
- #copy_with(events _events = @events, processor _processor = @processor)
- #events : Hash({PhysicsMaterial, PhysicsMaterial}, {CollisionComponent.class, Bool})
- #processor : Hash({PhysicsMaterial, PhysicsMaterial}, {ECS::Entity, ECS::Entity, Engine::CollisionData(Nil)} -> Bool)
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)
#
Class Method Detail
Instance Method Detail
def processor : Hash({PhysicsMaterial, PhysicsMaterial}, {ECS::Entity, ECS::Entity, Engine::CollisionData(Nil)} -> Bool)
#