Exemple #1
0
 public Player()
 {
     position = new p3d(0.0, 0.0, 0.0);
     sName    = "Colby";
     iScore   = 0;
     cColor   = Color.Blue;
 }
Exemple #2
0
 public Player(int key, string name, Color c, p3d p)
 {
     position = p;
     sName    = name;
     iScore   = 0;
     cColor   = c;
 }
Exemple #3
0
 public void setPosition(p3d p)
 {
     position = p;
 }
Exemple #4
0
 public void setPlayer(int key, string name, Color color, p3d p)
 {
     pPlayer = new Player(key, name, color, p);
 }
 public void setPosition(p3d p)
 {
     position = p;
 }
 public Player(int key, string name, Color c, p3d p)
 {
     position = p;
     sName = name;
     iScore = 0;
     cColor = c;
 }
 public Player()
 {
     position = new p3d(0.0, 0.0, 0.0);
     sName = "Colby";
     iScore = 0;
     cColor = Color.Blue;
 }
 public void setPlayer(int key, string name, Color color, p3d p)
 {
     pPlayer = new Player(key, name, color, p);
 }