Beispiel #1
0
 protected Units(Pointt position, double movingAngle, double health) {
   moveable = true;
   this.position = position.clone();
   this.xVelocity = 10;
   this.yVelocity = 10;
   this.movingAngle = movingAngle;
   this.finalAngle = movingAngle;
   this.health = health;
   this.maxHealth = health;
   partColors = new ArrayList<>();
 }