/examples/advanced/physics/StartAirHockey.java

http://mt4j.googlecode.com/ · Java · 19 lines · 13 code · 6 blank · 0 comment · 0 complexity · e171e999d4e978abcafd50836e722abf MD5 · raw file

  1. package advanced.physics;
  2. import org.mt4j.MTApplication;
  3. import advanced.physics.scenes.AirHockeyScene;
  4. public class StartAirHockey extends MTApplication {
  5. private static final long serialVersionUID = 1L;
  6. public static void main(String[] args) {
  7. initialize();
  8. }
  9. @Override
  10. public void startUp() {
  11. addScene(new AirHockeyScene(this, "Air Hockey Scene"));
  12. }
  13. }