public EnemyBullet(Vector location, Vector velocity, double step, string imageName = "enemy-bullet.png", IMovingPattern pattern = null) { Location = location; this.velocity = velocity.Normalize(); this.step = step; this.pattern = pattern; image = imageName; }
public Enemy(Point location, Game game, IMovingPattern pattern, double enemyStep, double bulletStep, string imageName = "enemy.png", bool isImmortal = false) { Location = new Vector(location); this.game = game; MovingPattern = pattern; this.enemyStep = enemyStep; this.bulletStep = bulletStep; this.imageName = imageName; IsImmortal = isImmortal; }
public Boss(Point location, Game game, IMovingPattern pattern, double enemyStep, double bulletStep, bool isImmortal = false) : base(location, game, pattern, enemyStep, bulletStep, "Monster.png", isImmortal) { }