@Override
 public void initialize() {
   super.initialize();
   if (properties != null) {
     String tileset = properties.getProperty("tileset", "swamp").toLowerCase();
     img = AssetLoader.getInstance().getImage("platform_" + tileset);
   }
 }
Esempio n. 2
0
 public Bullet() {
   super(AssetLoader.getInstance().getImage("bullet"));
   m = World.getInstance().getEntityManager();
 }
 public BigFlyingEnemy() {
   super(AssetLoader.getInstance().getAnimation("flying_ememy_big"));
 }
 public BigMovingPlatform() {
   super(AssetLoader.getInstance().getImage("big_platform"));
 }
Esempio n. 5
0
 public ThaWhale() {
   super(AssetLoader.getInstance().getImage("whale"));
   phase = new IdlePhase();
 }