예제 #1
0
        /// <summary>
        /// A new instance of JedenGameState.
        /// </summary>
        public JedenGameState()
        {
            PhysicsMgr = new PhysicsManager();
            GameObjectFactory.PhysicsMgr = PhysicsMgr;
            GameObjectFactory.GameState = this;

            GenTestLevel();
        }
예제 #2
0
 public PhysicsComponent(Body body, PhysicsManager physicsMgr, GameObject parent)
     : base(parent)
 {
     Manager = physicsMgr;
     Body = body;
 }