Package barsuift.simLife.time

Examples of barsuift.simLife.time.FpsCounter


    private final FpsCounter fpsCounter;


    public BasicUniverse(UniverseState state) {
        this.state = state;
        this.fpsCounter = new FpsCounter();
        this.fpsShowing = state.isFpsShowing();
        this.counter = new TimeCounter(state.getTimeCounter());
        this.age = state.getAge();
        this.universe3D = new BasicUniverse3D();
        this.environment = new BasicEnvironment(state.getEnvironment());
View Full Code Here


    private SimLifeCanvas3DState state;

    protected void setUp() throws Exception {
        super.setUp();
        FpsCounter coreFpsCounter = new FpsCounter();
        state = DisplayDataCreatorForTests.createSpecificCanvasState();
        canvas = new BasicSimLifeCanvas3D(coreFpsCounter, state);
    }
View Full Code Here

    public BasicSimLifeCanvas3D(FpsCounter coreFpsCounter, SimLifeCanvas3DState state) {
        super(SimpleUniverse.getPreferredConfiguration());
        this.state = state;
        this.fpsShowing = state.isFpsShowing();
        this.coreFps = coreFpsCounter;
        graphicFps = new FpsCounter();
        font = new Font(Font.MONOSPACED, Font.BOLD, 18);
        render2d = getGraphics2D();
    }
View Full Code Here

TOP

Related Classes of barsuift.simLife.time.FpsCounter

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.