Package aspect.entity

Examples of aspect.entity.Player


    @Override
    public void onAdd() {
        Material material = loadMaterial(new File("textures/tex.jpg"));
        cube = box(material, 1, 1, 1);
        player = new Player(Vector3.zero());
        try {
            WaveData data = WaveData.create(new BufferedInputStream(new FileInputStream("sound/test.wav")));
            if (data == null) {
                throw new LWJGLException("data == null");
            }
View Full Code Here


    @Override
    public void onAdd() {
        //setAmbientLight(new Color(0.2f, 0.2f, 0.2f));
        setAmbientLight(Color.BLACK);

        p = new Player(Vector3.zero());
        p.setWalkSpeed(50);
        Light l = new Light(Color.WHITE);
        l.directional = true;
        l.pos = new Vector3(0, 1, 0);
View Full Code Here

   
    @Override
    public void onAdd() {
       
        printGlVersion();
        player = new Player(Vector3.zero());
        Material material = new Material(Texture.create(UNLOADED_IMAGE));
        cube = new Entity(box(material, 0.9f, 0.7f, 0.6f));
        cube.pos = new Vector3(-1, 0, -4);
        cube.ang.pitch = -20;
        pipe = new Entity(pipe(material, 0.5f, 2, 60));
View Full Code Here

TOP

Related Classes of aspect.entity.Player

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.