Exemplo n.º 1
0
 /// <summary>
 ///  Method ToString to display usefull information of the box ( string display with the help of the view )
 /// </summary>
 /// <returns></returns>
 public override string ToString(Board monopoly)
 {
     return("\nYou have landed on " + box_type.ToUpper() + "\nYou will receive a luck card\n");
 }
Exemplo n.º 2
0
 public override void BoxEffect(Player joueur, Board monopoly)
 {
     //Give a luck "card" to the player
     GiveLuck(joueur, monopoly);
 }