Package aspect.entity.behavior

Examples of aspect.entity.behavior.Seizure


    public void onAdd() {
        Material material = new Material(loadTexture(new File("textures/tex.jpg")));
        ViewModel model = box(material, 1, 1, 1);
        cube = new Entity(model);
        cube.pos.z = -4;
        cube.addBehavior(new Seizure());
        cube.addBehavior(new CmpntRotate());
       
        addKeyListener(this);
    }
View Full Code Here

TOP

Related Classes of aspect.entity.behavior.Seizure

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.