Class: Yuki::Building_Object
Overview
Object that describe a building on the Map as a Particle
Instance Attribute Summary collapse
-
#disposed ⇒ Boolean
(also: #disposed?)
readonly
If the building is disposed.
-
#sprite ⇒ Sprite
The building sprite.
Instance Method Summary collapse
-
#dispose
Dispose the building.
-
#initialize(image, x, y, oy) ⇒ Building_Object
constructor
Create a new Building_Object.
-
#update
Update the building position (x, y, z).
Constructor Details
#initialize(image, x, y, oy) ⇒ Building_Object
Create a new Building_Object
1184 1185 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 1184 def initialize(image, x, y, oy) end |
Instance Attribute Details
#disposed ⇒ Boolean (readonly) Also known as: disposed?
If the building is disposed
1175 1176 1177 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 1175 def disposed @disposed end |
#sprite ⇒ Sprite
The building sprite
1178 1179 1180 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 1178 def sprite @sprite end |
Instance Method Details
#dispose
Dispose the building
1190 1191 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 1190 def dispose end |
#update
Update the building position (x, y, z)
1187 1188 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 1187 def update end |