Subversion Repositories distributed

Rev

Rev 22 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
22 daniel-mar 1
package test.fraktal3d;
2
import com.jme.app.SimpleGame;
3
import com.jme.math.Vector3f;
26 daniel-mar 4
import com.jme.scene.Node;
22 daniel-mar 5
 
6
public class BouncingBall extends SimpleGame {
7
 
8
        @Override
9
        protected void simpleInitGame() {
10
                // Scene einstellen
11
                // Kamaraentfernung erhöhen
12
                cam.setLocation(new Vector3f(0, 50, 150));
13
 
14
                // Elemente an rootNode anhängen
26 daniel-mar 15
                new Raumplan(rootNode, 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING).los(rootNode, 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING);
22 daniel-mar 16
 
26 daniel-mar 17
//              rootNode.attachChild(new Raumplan(new Node(), 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING).getRoomNode());
22 daniel-mar 18
        }
19
 
20
        /**
21
         * @param args
22
         */
23
        public static void main(String[] args) {
24
                BouncingBall ball = new BouncingBall();
25
                ball.setConfigShowMode(ConfigShowMode.AlwaysShow);
26
                ball.start();
27
        }
28
}