12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- /********************************************************************
- * Nomes: Gabriel Capella Números USP: 8962078
- * João Herique Luciano 8535957
- *
- * Tarefa: RedCore - EP2 MAC0463
- * Arquivo: AppDelegate.h
- * Descrição: Classe para inicializar jogo. Padrão da biblioteca.
- ********************************************************************/
- #ifndef _APP_DELEGATE_H_
- #define _APP_DELEGATE_H_
- #include "cocos2d.h"
- class AppDelegate : private cocos2d::Application {
- public:
- AppDelegate();
- virtual ~AppDelegate();
- virtual void initGLContextAttrs();
- /**
- @brief Implement Director and Scene init code here.
- @return true Initialize success, app continue.
- @return false Initialize failed, app terminate.
- */
- virtual bool applicationDidFinishLaunching();
- /**
- @brief Called when the application moves to the background
- @param the pointer of the application
- */
- virtual void applicationDidEnterBackground();
- /**
- @brief Called when the application reenters the foreground
- @param the pointer of the application
- */
- virtual void applicationWillEnterForeground();
- };
- #endif // _APP_DELEGATE_H_
|