Package cz.cube.mtheory.hud.component

Examples of cz.cube.mtheory.hud.component.ProgressBar


    public SpeedBarNode() {
        super("speed_bar_node");

        sb = new HudQuad("speed_bar", new Vector3f(0, 0, 0), HudTextures.SPEED_BAR);

        throttle = new ProgressBar("speed_bar_throttle", new Vector3f(-0.5f, -11, 0), HudTextures.SPEED_BAR_THROTTLE, Orientation.NORTH);
        brake = new ProgressBar("speed_bar_brake", new Vector3f(-9f, -10, 0), HudTextures.SPEED_BAR_BRAKE, Orientation.SOUTH);

        attachChild(sb);
        attachChild(throttle);
        attachChild(brake);
View Full Code Here


    public ControlCrossNode() {
        super("control_cross_node");

        cc = new HudQuad("control_cross", new Vector3f(0, 0, 0), HudTextures.CONTROL_CROSS);
        strafe = new HudQuad("strafe", new Vector3f(25, 25, 0), HudTextures.STRAFE);
        north = new ProgressBar("control_cross_north", new Vector3f(-0.5f, 4, 0), HudTextures.CONTROL_CROSS_NORTH, Orientation.NORTH);
        east = new ProgressBar("control_cross_east", new Vector3f(4, 0, 0), HudTextures.CONTROL_CROSS_EAST, Orientation.EAST);
        south = new ProgressBar("control_cross_south", new Vector3f(-0.5f, -5, 0), HudTextures.CONTROL_CROSS_SOUTH, Orientation.SOUTH);
        west = new ProgressBar("control_cross_west", new Vector3f(-4, 0, 0), HudTextures.CONTROL_CROSS_WEST, Orientation.WEST);

        attachChild(cc);
        attachChild(strafe);
        attachChild(north);
        attachChild(east);
View Full Code Here

TOP

Related Classes of cz.cube.mtheory.hud.component.ProgressBar

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.