Exemplo n.º 1
0
 public PlayerVertex(Player player, float x, float y)
     : base(x, y)
 {
     this.Player = player;
 }
Exemplo n.º 2
0
 public PlayerFace(Player player, HalfEdge halfEdge)
     : base(halfEdge)
 {
     this.Player = player;
 }
Exemplo n.º 3
0
 public Vector3 Infront(Player p, float length) => p.Location + ((Vector3.forward * length));
Exemplo n.º 4
0
 private void SwitchPlayer()
 {
     if (currentPlayer == Player.Player1)
     {
         currentPlayer = Player.Player2;
     }
     else if (currentPlayer == Player.Player2)
     {
         currentPlayer = Player.Player1;
     }
 }