Class: Tama::Player
- Inherits:
-
Object
- Object
- Tama::Player
- Defined in:
- lib/tama/player_class.rb
Overview
Classe qui est destiné a l’utilisateur et a son interaction sur le tama
Instance Method Summary collapse
-
#initialize(name) ⇒ Player
constructor
A new instance of Player.
Constructor Details
#initialize(name) ⇒ Player
Returns a new instance of Player.
9 10 11 12 13 14 15 16 |
# File 'lib/tama/player_class.rb', line 9 def initialize(name) @name= name #Offrir des possibilites #au joueur a creuser #Actions qu'il effectue #sur le tama a faire end |