Class: Artaius::Plugins::Mixer::Game
- Inherits:
-
Struct
- Object
- Struct
- Artaius::Plugins::Mixer::Game
- Defined in:
- lib/artaius/plugins/mixer.rb
Overview
Internal: Create a new game.
players - The Enumerable of players (Set or Array). limit - The Integer, describes the needed quantity of players, in
order to start the game.
time - The Time, when the game was created.
Returns Game Struct object.
Instance Attribute Summary collapse
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#players ⇒ Object
Returns the value of attribute players.
-
#time ⇒ Object
Returns the value of attribute time.
Instance Attribute Details
#limit ⇒ Object
Returns the value of attribute limit
15 16 17 |
# File 'lib/artaius/plugins/mixer.rb', line 15 def limit @limit end |
#players ⇒ Object
Returns the value of attribute players
15 16 17 |
# File 'lib/artaius/plugins/mixer.rb', line 15 def players @players end |
#time ⇒ Object
Returns the value of attribute time
15 16 17 |
# File 'lib/artaius/plugins/mixer.rb', line 15 def time @time end |