Пример #1
0
 private TerrainGenerator()
 {
     this.terrainFactory       = new TerrainFactory();
     this.boolTemplateProvider = BoolTemplateProvider.Instace;
     this.tankFactory          = new TankFactory();
     this.field = Field.Instance;
 }
Пример #2
0
 public MachineGun(int x, int y, Direction direction)
     : base(x, y, direction)
 {
     this.templateProvider = BoolTemplateProvider.Instace;
 }
Пример #3
0
 private Field()
 {
     this.boolTemplateProvider = BoolTemplateProvider.Instace;
     this.occupiedFields       = this.boolTemplateProvider.GetBoolTemplate("field");
     this.casted = this.occupiedFields.Select(l => l.ToList()).ToList();
 }
Пример #4
0
 public Rocket(int x, int y, Direction direction)
     : base(x, y, direction)
 {
     this.templateProvider = BoolTemplateProvider.Instace;
 }
Пример #5
0
 public BulletWithButterflyWings(int x, int y, Direction direction)
     : base(x, y, direction)
 {
     this.templateProvider = BoolTemplateProvider.Instace;
 }