Example #1
0
 // public void setColor(Color color){	this.color=color;}
 public Tank copy() {
   Tank tank = new Tank(client, world);
   tank.angle.set(angle);
   tank.speed = speed;
   tank.location.set(getLocation());
   tank.speedToggle = speedToggle;
   tank.rotateToggle = rotateToggle;
   return tank;
 }