Exemplo n.º 1
0
 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);
 }
Exemplo n.º 3
0
 public void updateLeftEnemy(LeftEnemy objLeft)
 {
     this.objLeft = objLeft;
 }