Ejemplo n.º 1
0
        protected override void Initialize()
        {
            TouchPanel.EnabledGestures =
                GestureType.Hold |
                GestureType.Tap |
                GestureType.DoubleTap |
                GestureType.FreeDrag |
                GestureType.Flick |
                GestureType.Pinch;

            currentKeyboardState = new KeyboardState();
            currentState = new Level1State(this);
            base.Initialize();
        }
Ejemplo n.º 2
0
 public void setGameState(AbstractGameState p_newState)
 {
     currentState = p_newState;
 }