예제 #1
0
 public void SetupPlayer(Client.PlayerData data)
 {
     Color = new Color(data.Color.Item1 / 256f, data.Color.Item2 / 256f, data.Color.Item3 / 256f);
     Name  = data.Name;
     Setup = true;
 }
예제 #2
0
 public void QueueOther(Client.PlayerData other)
 {
     OthersToSpawn.Add(other);
 }
예제 #3
0
 public void ChangePosition(Client.PlayerData data)
 {
     _newPosition = new Vector3(data.X, data.Y);
     _connected   = true;
 }