C# Class Jumpy.AppDelegate

Inheritance: CocosSharp.CCApplicationDelegate
Mostra file Open project: Cocos2DXNA/Samples Class Usage Examples

Public Methods

Method Description
AppDelegate ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager graphics ) : System
ApplicationDidEnterBackground ( ) : void

The function be called when the application enter background

ApplicationDidFinishLaunching ( ) : bool

Implement CCDirector and CCScene init code here.

ApplicationWillEnterForeground ( ) : void

The function be called when the application enter foreground

Protected Methods

Method Description
GraphicsPreparingDeviceSettings ( object sender, Microsoft.Xna.Framework.PreparingDeviceSettingsEventArgs e ) : void

We need to override this device settings callback so that the correct back buffer it set.

Method Details

AppDelegate() public method

public AppDelegate ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager graphics ) : System
game Microsoft.Xna.Framework.Game
graphics Microsoft.Xna.Framework.GraphicsDeviceManager
return System

ApplicationDidEnterBackground() public method

The function be called when the application enter background
public ApplicationDidEnterBackground ( ) : void
return void

ApplicationDidFinishLaunching() public method

Implement CCDirector and CCScene init code here.
public ApplicationDidFinishLaunching ( ) : bool
return bool

ApplicationWillEnterForeground() public method

The function be called when the application enter foreground
public ApplicationWillEnterForeground ( ) : void
return void

GraphicsPreparingDeviceSettings() protected method

We need to override this device settings callback so that the correct back buffer it set.
protected GraphicsPreparingDeviceSettings ( object sender, Microsoft.Xna.Framework.PreparingDeviceSettingsEventArgs e ) : void
sender object
e Microsoft.Xna.Framework.PreparingDeviceSettingsEventArgs
return void