public TankCannon(TankBase tank, float cannonRotationSpeed) { Rotation=new TransformableAngle(cannonRotationSpeed,0); Tank = tank; }
public IEnumerable<TankBase> GetEnemyTanks(TankBase myTank) { return AllTanks.Where(tank => tank != myTank); }