Package com.palepail.TestGame.Model

Examples of com.palepail.TestGame.Model.Explosion


  public void putItem(Item item) {
    items.add(item);
  }

  public void putExplosion(float x, float y, String variation) {
    Explosion explosion = new Explosion(0f, 0, 1 * Configuration.gameScale, 1 * Configuration.gameScale,
        new Vector2(x, y), 1, variation);
    explosions.add(explosion);
  }
View Full Code Here


    explosions.add(explosion);
  }

  public void putSecondaryExplosion(float x, float y, String variation) {

    Explosion explosion = new Explosion(0f, random.nextInt(9 * Configuration.gameScale),
        1.5f * Configuration.gameScale, .2f * Configuration.gameScale, new Vector2(x, y), .8f, variation);
    secondaryExplosions.add(explosion);

  }
View Full Code Here

TOP

Related Classes of com.palepail.TestGame.Model.Explosion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.