Exemple #1
0
 private void HomeItem_InputReleased(object sender, DXFramework.MouseEventArgs e)
 {
     sceneManager.Set<MainTestScene>(new TransitionFade());
 }
Exemple #2
0
 private void DebugCheckbox_InputReleased(object sender, DXFramework.MouseEventArgs e)
 {
     UIManager.DrawDebug = (sender as UICheckBox).Checked;
 }
 private void TransitionScenesButton_InputReleased(object sender, DXFramework.MouseEventArgs e)
 {
     sceneManager.Set<TransitionTestSceneMain>(new TransitionFade());
 }
 private void testScenes(object sender, DXFramework.MouseEventArgs e)
 {
     sceneManager.Set<UITestSceneMain>(new TransitionFade());
 }
 private void ExitButton_InputReleased(object sender, DXFramework.MouseEventArgs e)
 {
     this.game.Exit();
 }
Exemple #6
0
 void control_InputPressed( object sender, DXFramework.MouseEventArgs e )
 {
     UIControl c = sender as UIControl;
     System.Console.WriteLine( "Clicked: " + c.GetDecoration( 0 ).ToString() );
 }