Subversion Repositories distributed

Rev

Rev 26 | 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;
4
 
5
public class BouncingBall extends SimpleGame {
6
 
7
        @Override
8
        protected void simpleInitGame() {
9
                // Scene einstellen
10
                // Kamaraentfernung erhöhen
11
                cam.setLocation(new Vector3f(0, 50, 150));
12
 
13
                // Elemente an rootNode anhängen
26 daniel-mar 14
                new Raumplan(rootNode, 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING).los(rootNode, 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING);
22 daniel-mar 15
 
26 daniel-mar 16
//              rootNode.attachChild(new Raumplan(new Node(), 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING).getRoomNode());
22 daniel-mar 17
        }
18
 
19
        /**
20
         * @param args
21
         */
22
        public static void main(String[] args) {
23
                BouncingBall ball = new BouncingBall();
24
                ball.setConfigShowMode(ConfigShowMode.AlwaysShow);
25
                ball.start();
26
        }
27
}