Package com.badlogic.ashley.core

Examples of com.badlogic.ashley.core.Engine$ComponentOperationPool


    }
    }
   
    @Test
    public void intervalSystem(){
        Engine engine = new Engine();
        IntervalSystemSpy intervalSystemSpy = new IntervalSystemSpy();
       
        engine.addSystem(intervalSystemSpy);

        for (int i = 1; i <= 10; ++i) {
          engine.update(deltaTime);
          assertEquals(i / 2, intervalSystemSpy.numUpdates);
        }
    }
View Full Code Here

TOP

Related Classes of com.badlogic.ashley.core.Engine$ComponentOperationPool

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.