public GameInitializer(Graphics g, SpaceShooter obj) { this.g = g; this.obj = obj; p = new Player(obj, g); objLeft = new LeftEnemy(obj, g, p); healthBall = new HealthBall(p, g, obj); }
public PlayerBullet(Player p, Graphics g, LeftEnemy objLeft, Enemy enemy, FinalBoss fb) { this.g = g; this.p = p; this.objLeft = objLeft; this.fb = fb; this.enemy = enemy; tile = new Bitmap(Properties.Resources.Bullet); }
public void updateLeftEnemy(LeftEnemy objLeft) { this.objLeft = objLeft; }