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; }
public Splash(FXGameMidlet m) { super(m); setBackground("/images/splash1.png"); fin = false; super.start(); }