CCDirector
CCDirector
Cocos2DInheritance: System.Object
Constructors
CCDirector()
CCDirector()()Fields
m_bPurgeDirectorInNextLoop(System.Boolean)
m_dAnimationInterval(System.Double)
m_dOldAnimationInterval(System.Double)
Properties
Accelerometer(Cocos2D.CCAccelerometer)
ActionManager(Cocos2D.CCActionManager)
AnimationInterval(System.Double)
CanPopScene(System.Boolean)
ContentScaleFactor(System.Single)
Delegate(Cocos2D.ICCDirectorDelegate)
DisplayStats(System.Boolean)
GamePadEnabled(System.Boolean)
GraphIndex(System.Int32)
IsPaused(System.Boolean)
KeyboardDispatcher(Cocos2D.CCKeyboardDispatcher)
KeypadDispatcher(Cocos2D.CCKeypadDispatcher)
NeedsInit(System.Boolean)
NotificationNode(Cocos2D.CCNode)
Projection(Cocos2D.CCDirectorProjection)
RunningScene(Cocos2D.CCScene)
SceneCount(System.Int32)
Scheduler(Cocos2D.CCScheduler)
SharedDirector(Cocos2D.CCDirector)
TouchDispatcher(Cocos2D.CCTouchDispatcher)
VisibleOrigin(Cocos2D.CCPoint)
VisibleSize(Cocos2D.CCSize)
WinSize(Cocos2D.CCSize)
WinSizeInPixels(Cocos2D.CCSize)
ZEye(System.Single)
Methods
ConvertToGl(CCPoint)
Cocos2D.CCPoint ConvertToGl(CCPoint)(Cocos2D.CCPoint uiPoint)Parameters:
uiPoint (Cocos2D.CCPoint)Returns:
Cocos2D.CCPointConvertToUi(CCPoint)
Cocos2D.CCPoint ConvertToUi(CCPoint)(Cocos2D.CCPoint glPoint)Parameters:
glPoint (Cocos2D.CCPoint)Returns:
Cocos2D.CCPointCreateStatsLabel()
CreateStatsLabel()()DeserializeState()
System.Boolean DeserializeState()()Returns:
System.BooleanDrawScene(GameTime)
DrawScene(GameTime)(Microsoft.Xna.Framework.GameTime gameTime)Parameters:
gameTime (Microsoft.Xna.Framework.GameTime)EnableTouchDispatcher()
EnableTouchDispatcher()()End()
End()()Init()
System.Boolean Init()()Returns:
System.BooleanIsSendCleanupToScene()
System.Boolean IsSendCleanupToScene()()Returns:
System.BooleanMainLoop(GameTime)
MainLoop(GameTime)(Microsoft.Xna.Framework.GameTime gameTime)Parameters:
gameTime (Microsoft.Xna.Framework.GameTime)Pause()
Pause()()PopScene()
PopScene()()PopScene(float, CCTransitionScene)
PopScene(float, CCTransitionScene)(System.Single t, Cocos2D.CCTransitionScene s)Parameters:
t (System.Single)s (Cocos2D.CCTransitionScene)PopToRootScene()
PopToRootScene()()PopToSceneStackLevel(int)
PopToSceneStackLevel(int)(System.Int32 level)Parameters:
level (System.Int32)PurgeCachedData()
PurgeCachedData()()PurgeDirector()
PurgeDirector()()PushScene(CCScene)
PushScene(CCScene)(Cocos2D.CCScene pScene)Parameters:
pScene (Cocos2D.CCScene)ReplaceScene(CCScene)
ReplaceScene(CCScene)(Cocos2D.CCScene pScene)Parameters:
pScene (Cocos2D.CCScene)ResetSceneStack()
ResetSceneStack()()ResetStats()
ResetStats()()Resume()
Resume()()ResumeFromBackground()
ResumeFromBackground()()RunWithScene(CCScene)
RunWithScene(CCScene)(Cocos2D.CCScene pScene)Parameters:
pScene (Cocos2D.CCScene)SerializeState()
SerializeState()()SetAlphaBlending(bool)
SetAlphaBlending(bool)(System.Boolean bOn)Parameters:
bOn (System.Boolean)SetDefaultValues()
SetDefaultValues()()SetDepthTest(bool)
SetDepthTest(bool)(System.Boolean bOn)Parameters:
bOn (System.Boolean)SetNextDeltaTimeZero(bool)
SetNextDeltaTimeZero(bool)(System.Boolean bNextDeltaTimeZero)Parameters:
bNextDeltaTimeZero (System.Boolean)SetNextScene()
SetNextScene()()SetOpenGlView()
SetOpenGlView()()SetViewport()
SetViewport()()StartAnimation()
StartAnimation()()StopAnimation()
StopAnimation()()Update(GameTime)
Update(GameTime)(Microsoft.Xna.Framework.GameTime gameTime)Parameters:
gameTime (Microsoft.Xna.Framework.GameTime)