Package net.cis.common.model.spaceobject

Examples of net.cis.common.model.spaceobject.SpaceObject


    tcc.AddTimedCallback(new ICallback()
      {
      @Override
      public void execute()
        {
        SpaceObject so = SpaceobjectFactory.eINSTANCE.createAsteroid();
       
        so.setId(nextID++);
        so.setLocation(pos);
        so.setName(name);
        so.setRotation(new Quaternion());
        so.setLinearVelocity(new Vector3f());
        so.setAngularVelocity(new Quaternion());

        Node fighter = new Node(name);
        ControlledSpaceObject cso = new ControlledSpaceObject(so, fighter);
        cso.setDebugDisplay(name);
        cso.setGameThreadCallback(new SpatialUpdater(cso));
View Full Code Here

TOP

Related Classes of net.cis.common.model.spaceobject.SpaceObject

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.