Beispiel #1
0
 public GamePieceModel(Pieceshapes shape, PlayerModel player)
 {
     Owner = player;
     Shape = shape;
 }
Beispiel #2
0
 /// <summary>
 /// Constructor for a piece of a known shape
 /// </summary>
 /// <param name="shape"></param>
 public GamePieceModel(Pieceshapes shape)
 {
     Shape = shape;
 }
Beispiel #3
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public GamePieceModel()
 {
     Owner = new PlayerModel();
     Shape = Pieceshapes.Undefined;
 }