Replaced usage of with CommonMethods.window (which uses ), refactored InputMapper to match actions to keys and visa-versa, removed categories from InputMapper, moved input mappings from Camera and Player into InputMapper (for now.)

This commit is contained in:
2019-02-22 14:55:06 -06:00
parent 8b65973f6f
commit 6191699d8b
11 changed files with 178 additions and 121 deletions

View File

@@ -1,5 +1,6 @@
class IMICFPS
class Renderer
include CommonMethods
include OpenGL
include GLU
@@ -23,7 +24,7 @@ class IMICFPS
end
@bounding_box_renderer.draw_bounding_boxes if $debug
$window.number_of_vertices+=@bounding_box_renderer.vertex_count if $debug
window.number_of_vertices+=@bounding_box_renderer.vertex_count if $debug
# @bounding_box_renderer.bounding_boxes.clear
end