Search in sources :

Example 1 with MockAnimation

use of limelight.background.MockAnimation in project limelight by slagyr.

the class AnimationLoopTest method testShouldNotBeIdleWithAnimationTasks.

public void testShouldNotBeIdleWithAnimationTasks() throws Exception {
    loop.add(new MockAnimation(20, new MockPanel()));
    assertEquals(false, loop.shouldBeIdle());
}
Also used : MockPanel(limelight.ui.MockPanel) MockAnimation(limelight.background.MockAnimation)

Example 2 with MockAnimation

use of limelight.background.MockAnimation in project limelight by slagyr.

the class AnimationLoopTest method setUp.

public void setUp() throws Exception {
    loop = new AnimationLoop();
    animation20 = new MockAnimation(20, new MockPanel());
    animation30 = new MockAnimation(30, new MockPanel());
    animation10 = new MockAnimation(10, new MockPanel());
}
Also used : MockPanel(limelight.ui.MockPanel) MockAnimation(limelight.background.MockAnimation)

Aggregations

MockAnimation (limelight.background.MockAnimation)2 MockPanel (limelight.ui.MockPanel)2