private TerrainGenerator() { this.terrainFactory = new TerrainFactory(); this.boolTemplateProvider = BoolTemplateProvider.Instace; this.tankFactory = new TankFactory(); this.field = Field.Instance; }
public MachineGun(int x, int y, Direction direction) : base(x, y, direction) { this.templateProvider = BoolTemplateProvider.Instace; }
private Field() { this.boolTemplateProvider = BoolTemplateProvider.Instace; this.occupiedFields = this.boolTemplateProvider.GetBoolTemplate("field"); this.casted = this.occupiedFields.Select(l => l.ToList()).ToList(); }
public Rocket(int x, int y, Direction direction) : base(x, y, direction) { this.templateProvider = BoolTemplateProvider.Instace; }
public BulletWithButterflyWings(int x, int y, Direction direction) : base(x, y, direction) { this.templateProvider = BoolTemplateProvider.Instace; }