Class: Teien::Event::BaseObject::SyncEnv

Inherits:
Object
  • Object
show all
Defined in:
lib/teien/base_object/base_object_event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_colorObject

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

#gravityObject

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_domeObject

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