Package com.artemis

Examples of com.artemis.EntityEdit


    world.initialize();
   
    Entity e1 = world.createEntity();
    Entity e2 = world.createEntity();
   
    EntityEdit edit1 = e1.edit();
    EntityEdit edit2 = e2.edit();
    initComponent(edit1.create(StructComponentA.class));
    initComponent(edit1.create(Position.class));
    initComponent(edit2.create(StructComponentA.class));
    initComponent(edit2.create(Position.class));
  }
View Full Code Here

TOP

Related Classes of com.artemis.EntityEdit

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.