Ejemplo n.º 1
0
 public Knight(Knight r)
 {
     this.playerSide   = r.GetPlayerSide();
     this.pawnLocation = r.GetRec();
     this.behaviour    = r.GetBehaviour();
 }
Ejemplo n.º 2
0
 public Rook(Rook r)
 {
     this.playerSide   = r.GetPlayerSide();
     this.pawnLocation = r.GetRec();
     this.behaviour    = r.GetBehaviour();
 }
Ejemplo n.º 3
0
 public Knight(PlayerSide playerSide)
 {
     this.playerSide = playerSide;
     pawnLocation    = new Rectangle(0, 0, PawnBitmapCollection.WIDTH, PawnBitmapCollection.HEIGHT);
     behaviour       = new KnightBehaviour();
 }
Ejemplo n.º 4
0
 public Advisor(Advisor r)
 {
     this.playerSide   = r.GetPlayerSide();
     this.pawnLocation = r.GetRec();
     this.behaviour    = r.GetBehaviour();
 }
Ejemplo n.º 5
0
 public General(General r)
 {
     this.playerSide   = r.GetPlayerSide();
     this.pawnLocation = r.GetRec();
     this.behaviour    = r.GetBehaviour();
 }
Ejemplo n.º 6
0
 public Soldier(Soldier r)
 {
     this.playerSide   = r.GetPlayerSide();
     this.pawnLocation = r.GetRec();
     this.behaviour    = r.GetBehaviour();
 }
Ejemplo n.º 7
0
 public Cannon(Cannon r)
 {
     this.playerSide   = r.GetPlayerSide();
     this.pawnLocation = r.GetRec();
     this.behaviour    = r.GetBehaviour();
 }
Ejemplo n.º 8
0
 public Elephant(Elephant r)
 {
     this.playerSide   = r.GetPlayerSide();
     this.pawnLocation = r.GetRec();
     this.behaviour    = r.GetBehaviour();
 }