Package org.sfsoft.jfighter2dx.characters

Examples of org.sfsoft.jfighter2dx.characters.PursuerEnemy


        break;
      case BIG_ENEMY:
        enemy = new BigEnemy(Constants.SCREEN_WIDTH, new Random().nextInt(SCREEN_HEIGHT - ENEMY_HEIGHT * 2), -100f);
        break;
      case PURSUER_ENEMY:
        enemy = new PursuerEnemy(Constants.SCREEN_WIDTH, new Random().nextInt(SCREEN_HEIGHT - ENEMY_HEIGHT), -100f);
        ((PursuerEnemy) enemy).setShip(spriteManager.getShip());
        break;
      case STATIC_SHOOTER_ENEMY:
        enemy = new StaticShooterEnemy(Constants.SCREEN_WIDTH - 100, new Random().nextInt(SCREEN_HEIGHT - ENEMY_HEIGHT), -100f, BulletDirection.LEFT);
        ((StaticShooterEnemy) enemy).setEnemies(spriteManager.getEnemies());
View Full Code Here


      break;
    case BIG_ENEMY:
      enemy = new BigEnemy(x, y, -100f);
      break;
    case PURSUER_ENEMY:
      enemy = new PursuerEnemy(x, y, -100f);
      ((PursuerEnemy) enemy).setShip(spriteManager.getShip());
      break;
    case STATIC_SHOOTER_ENEMY:
      enemy = new StaticShooterEnemy(x, y, -100f, BulletDirection.LEFT);
      ((StaticShooterEnemy) enemy).setEnemies(spriteManager.getEnemies());
View Full Code Here

TOP

Related Classes of org.sfsoft.jfighter2dx.characters.PursuerEnemy

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.