C# 클래스 Jumpy.AppDelegate

상속: CocosSharp.CCApplicationDelegate
파일 보기 프로젝트 열기: Cocos2DXNA/Samples 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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.

메소드 상세

AppDelegate() 공개 메소드

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

ApplicationDidEnterBackground() 공개 메소드

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

ApplicationDidFinishLaunching() 공개 메소드

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

ApplicationWillEnterForeground() 공개 메소드

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

GraphicsPreparingDeviceSettings() 보호된 메소드

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
리턴 void