예제 #1
0
 public PlayerVertex(Player player, float x, float y)
     : base(x, y)
 {
     this.Player = player;
 }
예제 #2
0
 public PlayerFace(Player player, HalfEdge halfEdge)
     : base(halfEdge)
 {
     this.Player = player;
 }
예제 #3
0
파일: Util.cs 프로젝트: Notulp/Pluton.Rust
 public Vector3 Infront(Player p, float length) => p.Location + ((Vector3.forward * length));
예제 #4
0
 private void SwitchPlayer()
 {
     if (currentPlayer == Player.Player1)
     {
         currentPlayer = Player.Player2;
     }
     else if (currentPlayer == Player.Player2)
     {
         currentPlayer = Player.Player1;
     }
 }