Subversion Repositories distributed

Rev

Rev 22 | Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. package test.fraktal3d;
  2. import com.jme.app.SimpleGame;
  3. import com.jme.math.Vector3f;
  4. import com.jme.scene.Node;
  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
  15.                 new Raumplan(rootNode, 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING).los(rootNode, 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING);
  16.                
  17. //              rootNode.attachChild(new Raumplan(new Node(), 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING).getRoomNode());
  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. }
  29.