Package org.sfsoft.jfighter2dx.characters

Examples of org.sfsoft.jfighter2dx.characters.SmartEnemy


        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());
      case SMART_ENEMY:
        enemy = new SmartEnemy(Constants.SCREEN_WIDTH, MathUtils.random(0, SCREEN_HEIGHT - ENEMY_HEIGHT), -150f);
      default:
        break;
    }
   
    return enemy;
View Full Code Here


      break;
    case STATIC_SHOOTER_ENEMY:
      enemy = new StaticShooterEnemy(x, y, -100f, BulletDirection.LEFT);
      ((StaticShooterEnemy) enemy).setEnemies(spriteManager.getEnemies());
    case SMART_ENEMY:
      enemy = new SmartEnemy(x, y, -140f);
    default:
      break;
    }
   
    return enemy;
View Full Code Here

TOP

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

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.