mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Restructured 'objects' folder into a meaningful 'assets' folder, added 'war_factory' model, refactored GameObject#bind_model and ModelLoader to understand the restructuring.
This commit is contained in:
@@ -16,7 +16,7 @@ class IMICFPS
|
||||
object.debug_color = Color.new(1.0,0.0,0.0)
|
||||
b.debug_color = Color.new(1.0,0.0,0.0)
|
||||
|
||||
@game_state.game_objects.delete(object) unless object.is_a?(Player)
|
||||
# @game_state.game_objects.delete(object) unless object.is_a?(Player)
|
||||
puts "#{object} is intersecting #{b}" if object.is_a?(Player)
|
||||
else
|
||||
object.debug_color = Color.new(0,1,0)
|
||||
@@ -31,4 +31,4 @@ class IMICFPS
|
||||
# @aabb_tree.rebuild
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user