Package cc.plural.ecs.component.geometry

Examples of cc.plural.ecs.component.geometry.GeometryComponent


    public static GameObject createTank(Engine engine) {
        GameObject tank = engine.createGameObject();
        tank.setName("Tank");

        GameObject tankBody = engine.createGameObject();
        GeometryComponent geometry = new GeometryComponent();

        //geometry.texture = Texture.createTexture("/images/tank_body_1.png");
//        geometry.model = new Model();
//        VertexData v0 = new VertexData();
//        v0.setXYZ(-0.5f, 0.5f, 0);
View Full Code Here


        }
    }

    public void createGeometry() {
        if (geometry == null) {
            geometry = new GeometryComponent();
        }
    }
View Full Code Here

TOP

Related Classes of cc.plural.ecs.component.geometry.GeometryComponent

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.