Package org.newdawn.slick.state.transition

Examples of org.newdawn.slick.state.transition.EmptyTransition


   * Enter a particular game state with no transition
   *
   * @param id The ID of the state to enter
   */
  public void enterState(int id) {
    enterState(id, new EmptyTransition(), new EmptyTransition());
  }
View Full Code Here


   * @param leave The transition to use when leaving the current state
   * @param enter The transition to use when entering the new state
   */
  public void enterState(int id, Transition leave, Transition enter) {
    if (leave == null) {
      leave = new EmptyTransition();
    }
    if (enter == null) {
      enter = new EmptyTransition();
    }
    leaveTransition = leave;
    enterTransition = enter;
   
    nextState = getState(id);
View Full Code Here

   * Enter a particular game state with no transition
   *
   * @param id The ID of the state to enter
   */
  public void enterState(int id) {
    enterState(id, new EmptyTransition(), new EmptyTransition());
  }
View Full Code Here

   * @param leave The transition to use when leaving the current state
   * @param enter The transition to use when entering the new state
   */
  public void enterState(int id, Transition leave, Transition enter) {
    if (leave == null) {
      leave = new EmptyTransition();
    }
    if (enter == null) {
      enter = new EmptyTransition();
    }
    leaveTransition = leave;
    enterTransition = enter;
   
    nextState = getState(id);
View Full Code Here

   * Enter a particular game state with no transition
   *
   * @param id The ID of the state to enter
   */
  public void enterState(int id) {
    enterState(id, new EmptyTransition(), new EmptyTransition());
  }
View Full Code Here

   * @param leave The transition to use when leaving the current state
   * @param enter The transition to use when entering the new state
   */
  public void enterState(int id, Transition leave, Transition enter) {
    if (leave == null) {
      leave = new EmptyTransition();
    }
    if (enter == null) {
      enter = new EmptyTransition();
    }
    leaveTransition = leave;
    enterTransition = enter;
   
    nextState = getState(id);
View Full Code Here

                gameReady = false;
            }
        }
        if (key == Input.KEY_SPACE && actionArea.isReady() && profeReto) {
            escondeDialogo();
            stateBasedGame.enterState(5, new FadeOutTransition(), new EmptyTransition());
        }
    }
View Full Code Here

    /**
     * Método que cambia al estado de Aula.
     */
    public static void entraClase() {
        stateBasedGame.enterState(2, new FadeOutTransition(), new EmptyTransition());
    }
View Full Code Here

    /**
     * Método que cambia al estado de Pasillo.
     */
    public static void entraPasillo() {
        stateBasedGame.enterState(4, new FadeOutTransition(), new EmptyTransition());
    }
View Full Code Here

   * Enter a particular game state with no transition
   *
   * @param id The ID of the state to enter
   */
  public void enterState(int id) {
    enterState(id, new EmptyTransition(), new EmptyTransition());
  }
View Full Code Here

TOP

Related Classes of org.newdawn.slick.state.transition.EmptyTransition

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.