예제 #1
0
 public Ennemi5(FXGameCanvas c, int pTypeBalle) {
   super(Jeu.DELAIS_MISSILE);
   super.sprite = c.createSprite("/images/ennemi5.png", 15, 13, 1, true);
   super.explosion = c.createSprite("images/explEnnemi.png", 10, 10, 1, true);
   super.sprite.setVisible(false);
   super.explosion.setVisible(false);
   super.vie = 10;
   typeBalle[0] = pTypeBalle;
 }
예제 #2
0
  public Splash(FXGameMidlet m) {
    super(m);

    setBackground("/images/splash1.png");
    fin = false;
    super.start();
  }