Package barsuift.simLife.time

Examples of barsuift.simLife.time.SimLifeDateState


        }
        return new GravityState(gravity3D, fallingLeaves);
    }

    public static DateHandlerState createRandomDateHandlerState() {
        SimLifeDateState date = UtilDataCreatorForTests.createRandomDateState();
        return new DateHandlerState(date);
    }
View Full Code Here


        SimLifeDateState date = UtilDataCreatorForTests.createRandomDateState();
        return new DateHandlerState(date);
    }

    public static DateHandlerState createSpecificDateHandlerState() {
        SimLifeDateState date = UtilDataCreatorForTests.createSpecificDateState();
        return new DateHandlerState(date);
    }
View Full Code Here

    private SimLifeDate date;

    protected void setUp() throws Exception {
        super.setUp();
        date = new SimLifeDate(new SimLifeDateState());
        display = new DateDisplay(date);
    }
View Full Code Here

    /**
     * Creates a random date state, between 0 and 100 seconds.
     */
    public static SimLifeDateState createRandomDateState() {
        return new SimLifeDateState(Randomizer.randomBetween(0, 100) * 1000);
    }
View Full Code Here

    /**
     * Creates a specific date state, at 100 seconds.
     */
    public static SimLifeDateState createSpecificDateState() {
        return new SimLifeDateState(100000);
    }
View Full Code Here

TOP

Related Classes of barsuift.simLife.time.SimLifeDateState

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.