Beispiel #1
0
 void OnTap(Gesture gesture)
 {
     _returnScene = new Scene_MainMenu();
 }
        void OnTap(Gesture gesture)
        {
            returnScene = new Scene_MainMenu ();

            woodTex.Dispose ();
            // Clean up the things we allocated on the GPU.
            this.Platform.Graphics.DestroyShader (shader);
            shader = null;
        }
Beispiel #3
0
 void OnTap(Gesture gesture)
 {
     returnScene = new Scene_Shapes3();
 }
Beispiel #4
0
 void HandleTap(Gesture gesture)
 {
     ChangeNumHares ();
 }
Beispiel #5
0
 void OnTap(Gesture gesture)
 {
     _returnScene = GetSceneForCurrentSelection();
 }
Beispiel #6
0
        void OnFlick(Gesture gesture)
        {
            var v = gesture.TouchTrackers[0].GetVelocity(TouchPositionSpace.NormalisedEngine);

            if (v.X > 0)
            {
                IncreaseSelected();
            }
            else
            {
                DecreaseSelected();
            }
        }
        void OnDoubleTap(Gesture gesture)
        {
            returnScene = new Scene_MainMenu ();

            // Clean up the things we allocated on the GPU.
            this.Platform.Graphics.DestroyShader (shader);
            this.Platform.Graphics.DestroyTexture (tex);
            shader = null;
        }