diff org/world.org @ 67:6f74d89fb8b3

got world working with updated jme system
author Robert McIntyre <rlm@mit.edu>
date Thu, 08 Dec 2011 20:58:40 -0600
parents 1381a6ebd08b
children 0235c32152af
line wrap: on
line diff
     1.1 --- a/org/world.org	Wed Dec 07 12:16:48 2011 -0600
     1.2 +++ b/org/world.org	Thu Dec 08 20:58:40 2011 -0600
     1.3 @@ -44,7 +44,7 @@
     1.4   - Separation of Object life-cycles with the Application life-cycle.
     1.5   - Functional interface to the underlying =Application= and
     1.6     =SimpleApplication= classes.
     1.7 -
     1.8 +   
     1.9  ** Header
    1.10  #+name: header
    1.11  #+begin_src clojure :results silent    
    1.12 @@ -281,6 +281,7 @@
    1.13    "
    1.14    [root-node key-map setup-fn update-fn]
    1.15    (let [physics-manager (BulletAppState.)]
    1.16 +    (JmeSystem/setSystemDelegate (AurellemSystemDelegate.))
    1.17      (doto
    1.18          (proxy [SimpleApplication ActionListener] []
    1.19            (simpleInitApp
    1.20 @@ -331,9 +332,9 @@
    1.21        (.setShowSettings false)
    1.22        ;; continue running simulation even if the window has lost
    1.23        ;; focus.
    1.24 -      (JmeSystem/setSystemDelegate (AurellemSystemDelegate.))
    1.25        (.setPauseOnLostFocus false)
    1.26        (.setSettings *app-settings*))))
    1.27 +
    1.28  #+end_src 
    1.29  
    1.30