Subversion Repositories distributed

Rev

Rev 26 | 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.  
  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
  14.                 new Raumplan(rootNode, 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING).los(rootNode, 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING);
  15.                
  16. //              rootNode.attachChild(new Raumplan(new Node(), 25, 0, 0, 0, LockDirectoryEnum.LOCK_NOTHING).getRoomNode());
  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. }
  28.