Package org.sfsoft.jfighter2dx.powerups

Examples of org.sfsoft.jfighter2dx.powerups.Bomb


   
    Powerup powerup = null;
   
    switch (type) {
      case BOMB:
        powerup = new Bomb(1000, new Random().nextInt(SCREEN_HEIGHT - ITEM_HEIGHT), -100f);
        break;
      case SHIELD:
        powerup = new Shield(1000, new Random().nextInt(SCREEN_HEIGHT - ITEM_HEIGHT), -100f);
        break;
    }
View Full Code Here

TOP

Related Classes of org.sfsoft.jfighter2dx.powerups.Bomb

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.