Package org.seattlegamer.spacegame.messages

Examples of org.seattlegamer.spacegame.messages.MenuSelectionChanged


    }, KEY_DELAY_MILLIS);
  }

  private void scroll(int scrollChange) {
    this.selectionIndex = NumberUtils.wrapIndex(this.selectionIndex + scrollChange, this.maxEntries - 1);
    this.bus.broadcast(new MenuSelectionChanged(this.selectionIndex));
  }
View Full Code Here


   
    for(Component component : menuComponents) {
      this.bus.broadcast(new ComponentAddition(component));
    }
 
    bus.send(new MenuSelectionChanged(0), this.menuEntityId);
   
  }
View Full Code Here

TOP

Related Classes of org.seattlegamer.spacegame.messages.MenuSelectionChanged

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.