mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-14 07:12:34 +00:00
Redid menus, stubbed Entity
This commit is contained in:
13
lib/entity.rb
Normal file
13
lib/entity.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class IMICRTS
|
||||
class Entity
|
||||
def initialize(images:, position:, angle:)
|
||||
@images = images
|
||||
@position = position
|
||||
@angle = angle
|
||||
end
|
||||
|
||||
def draw
|
||||
@images.draw_rot(@position.x, @position.y, @position.z, @angle)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user