public void initResources() {
    super.initResources();

    Resources.loadInt("Height", HEIGHT);
    Resources.loadInt("Width", WIDTH);

    initControls();
  }
  @Override
  public void initResources() {

    super.initResources();

    myPlayState = new PlayState();
    stateManager.addGameState(myPlayState);
    stateManager.activateOnly(myPlayState);
  }
  public void initGameStates() {
    super.initGameStates();

    initLevelManager();
    stateManager.addGameState(myMenuState = new MenuState(), 0);
    myPlayState = new PlayState(levelManager, this);
    stateManager.addGameState(myPlayState);
    stateManager.addGameState(myLevelCompleteState = new LevelCompleteState());
    stateManager.addGameState(myGameCompleteState = new GameCompleteState());
    stateManager.addGameState(myGameOverState = new GameOverState());
    stateManager.addGameState(myPauseState = new PauseGameState(myPlayState, "Paused"));
    stateManager.activateOnly(myMenuState);
  }
 public void update(long elapsedTime) {
   super.update(elapsedTime);
   gameControl.update();
 }