Package org.spout.api

Examples of org.spout.api.Client


    em.registerEvents(new ScoreboardListener(), this);

    switch (getEngine().getPlatform()) {
      case CLIENT:

        final Client client = (Client) getEngine();
        //Setup client input
        final InputManager input = client.getInputManager();
        input.bind(new Binding("quickbar_left", Mouse.SCROLL_UP));
        input.bind(new Binding("quickbar_right", Mouse.SCROLL_DOWN));
        for (int i = 1; i < 10; i++) {
          input.bind(new Binding("quickbar_" + i, Keyboard.valueOf("KEY_" + i)));
        }
View Full Code Here

TOP

Related Classes of org.spout.api.Client

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.