Ejemplo n.º 1
0
 public TankCannon(TankBase tank, float cannonRotationSpeed)
 {
     Rotation=new TransformableAngle(cannonRotationSpeed,0);
     Tank = tank;
 }
 public TankLocation(float speed, float tankRotationSpeed)
 {
     Speed = speed;
     CurrentDirection = Vector3.forward;
     RotationY = new TransformableAngle(tankRotationSpeed, 0);
 }