Class: Teien::Event::BaseObject::SyncEnv
- Inherits:
-
Object
- Object
- Teien::Event::BaseObject::SyncEnv
- Defined in:
- lib/teien/base_object/base_object_event.rb
Instance Attribute Summary collapse
-
#ambient_light_color ⇒ Object
Returns the value of attribute ambient_light_color.
-
#gravity ⇒ Object
Returns the value of attribute gravity.
-
#sky_dome ⇒ Object
Returns the value of attribute sky_dome.
Instance Method Summary collapse
-
#initialize(gravity, ambient_light_color, sky_dome) ⇒ SyncEnv
constructor
A new instance of SyncEnv.
Constructor Details
#initialize(gravity, ambient_light_color, sky_dome) ⇒ SyncEnv
Returns a new instance of SyncEnv.
10 11 12 13 14 |
# File 'lib/teien/base_object/base_object_event.rb', line 10 def initialize(gravity, ambient_light_color, sky_dome) @gravity = gravity @ambient_light_color = ambient_light_color @sky_dome = sky_dome end |
Instance Attribute Details
#ambient_light_color ⇒ Object
Returns the value of attribute ambient_light_color.
7 8 9 |
# File 'lib/teien/base_object/base_object_event.rb', line 7 def ambient_light_color @ambient_light_color end |
#gravity ⇒ Object
Returns the value of attribute gravity.
6 7 8 |
# File 'lib/teien/base_object/base_object_event.rb', line 6 def gravity @gravity end |
#sky_dome ⇒ Object
Returns the value of attribute sky_dome.
8 9 10 |
# File 'lib/teien/base_object/base_object_event.rb', line 8 def sky_dome @sky_dome end |