Exemple #1
0
 //Constructor: A new instance will be created every time a new game is started.
 public TankLogic(int tankId, SetJoystick setJoystick)
 {
     this.tankId=tankId;
     this.setJoystick=setJoystick;
 }
Exemple #2
0
 //Constructor: A new instance will be created every time a new game is started.
 public TankLogic(int tankId, SetJoystick setJoystick)
 {
     this.tankId      = tankId;
     this.setJoystick = setJoystick;
 }