Example #1
0
 public Tank(int x, int y, IFigureTexture texture)
 {
     this.X                = x;
     this.Y                = y;
     this.FigureTexture    = texture;
     this.WeaponType       = ProjectileType.MachineGun;
     this.FiredProjectiles = new List <IProjectile>();
 }
Example #2
0
 public ITank CreateTank(int x, int y, IFigureTexture figureTexture)
 {
     return(new Tank(x, y, figureTexture));
 }