Class: EightyOne::Face

Inherits:
Object
  • Object
show all
Defined in:
lib/eighty-one/face.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(symbol, movements) ⇒ Face

Returns a new instance of Face.



5
6
7
8
# File 'lib/eighty-one/face.rb', line 5

def initialize(symbol, movements)
  @symbol = symbol
  @movements = movements
end

Instance Attribute Details

#movementsObject (readonly)

Returns the value of attribute movements.



3
4
5
# File 'lib/eighty-one/face.rb', line 3

def movements
  @movements
end

#symbolObject (readonly)

Returns the value of attribute symbol.



3
4
5
# File 'lib/eighty-one/face.rb', line 3

def symbol
  @symbol
end