-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChanceCard.cs
36 lines (30 loc) · 969 Bytes
/
ChanceCard.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MonopolyCompanion
{
internal class ChanceCard : ICard
{
public string Name { get; set; }
public EnCardType CardType { get; set; }
public int Id { get; set; }
public int Value { get; set; }
public string Description { get; set; }
public bool GoToGo { get; set; }
public bool GetOutOfJail { get; set; }
public bool GoToJail { get; set; }
public ChanceCard(int id, string description, int value= 0, bool goToGo = false, bool getOutOfJail = false, bool goToJail = false)
{
Name = "null";
Id = id;
Description = description;
Value = value;
GoToGo = goToGo;
GetOutOfJail = getOutOfJail;
GoToJail = goToJail;
CardType = EnCardType.Chance;
}
}
}