public SelectedPowerUpController(Dictionary<PowerUpType, PowerUp> powerUps, Circle cursorCircle) { PowerUps = powerUps; CursorCircle = cursorCircle; PowerUpToBuy = PowerUpType.None; PowerUpsCircles = new Dictionary<PowerUpType, Circle>(PowerUpTypeComparer.Default); foreach (var powerUp in PowerUps) PowerUpsCircles.Add(powerUp.Key, new Circle(powerUp.Value.BuyPosition, 10)); }
public ShieldsCollisions() { Objects = new List<ICollidable>(); Output = new List<KeyValuePair<ICollidable, Bullet>>(); ObjectCircle = new Circle(); }
public StartingPathCollisions() { Output = new List<KeyValuePair<CelestialBody, Bullet>>(); StartingPathObjectCircle = new Circle(); }