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>(); }
public ITank CreateTank(int x, int y, IFigureTexture figureTexture) { return(new Tank(x, y, figureTexture)); }