mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Collision stuff
This commit is contained in:
@@ -5,7 +5,7 @@ class IMICFPS
|
||||
|
||||
module EntityManager # Get included into GameState context
|
||||
def add_entity(entity)
|
||||
@collision_manager.add(entity) if entity.collidable?
|
||||
@collision_manager.add(entity)# Add every entity to collision manager
|
||||
@entities << entity
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user