/// <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"); }
public override void BoxEffect(Player joueur, Board monopoly) { //Give a luck "card" to the player GiveLuck(joueur, monopoly); }