mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Cleanup
This commit is contained in:
@@ -16,8 +16,7 @@ class IMICFPS
|
||||
|
||||
def initialize(file_path:, game_object:)
|
||||
@game_object = game_object
|
||||
@x, @y, @z = game_object.x, game_object.y, game_object.z
|
||||
@scale = game_object.scale
|
||||
update
|
||||
@file_path = file_path
|
||||
@file = File.open(file_path, 'r')
|
||||
@material_file = nil
|
||||
@@ -88,6 +87,11 @@ class IMICFPS
|
||||
end
|
||||
$window.number_of_faces+=self.faces.size
|
||||
end
|
||||
|
||||
def update
|
||||
@x, @y, @z = @game_object.x, @game_object.y, @game_object.z
|
||||
@scale = @game_object.scale
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user