Class: Ruby2D::Entity
- Inherits:
-
Object
- Object
- Ruby2D::Entity
- Defined in:
- lib/ruby2d/entity.rb
Instance Method Summary collapse
-
#add ⇒ Object
Add the entity to the window.
-
#remove ⇒ Object
Remove the entity from the window.
Instance Method Details
#add ⇒ Object
Add the entity to the window
7 8 9 |
# File 'lib/ruby2d/entity.rb', line 7 def add Window.add(self) end |
#remove ⇒ Object
Remove the entity from the window
12 13 14 |
# File 'lib/ruby2d/entity.rb', line 12 def remove Window.remove(self) end |