Class: Scene

Inherits:
Object
  • Object
show all
Defined in:
lib/domain/scene.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, place, props, actions) ⇒ Scene

Returns a new instance of Scene.



4
5
6
7
8
9
# File 'lib/domain/scene.rb', line 4

def initialize(name, place, props, actions)
    @name = name
    @place = place
    @props = props
    @actions = actions
end

Instance Attribute Details

#actionsObject (readonly)

Returns the value of attribute actions.



3
4
5
# File 'lib/domain/scene.rb', line 3

def actions
  @actions
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/domain/scene.rb', line 3

def name
  @name
end

#placeObject (readonly)

Returns the value of attribute place.



3
4
5
# File 'lib/domain/scene.rb', line 3

def place
  @place
end

#propsObject (readonly)

Returns the value of attribute props.



3
4
5
# File 'lib/domain/scene.rb', line 3

def props
  @props
end