#include <PSPFApplication.h>
Public Member Functions | |
PSPFApplication () | |
PSPFApplication. | |
virtual | ~PSPFApplication () |
~PSPFApplication | |
void | Initialized () |
Initialized. | |
virtual void | Load () |
Load. | |
virtual void | UnLoad () |
Unload. | |
void | Run () |
Run. | |
void | Terminated () |
Terminated. | |
void | Splash (unsigned long time=100) |
Splash. |
PSPFApplication::PSPFApplication | ( | ) |
This method creates a new class Application. To implement a game with PSPFramework, you should have a class that inherits of PSPFApplication.
virtual PSPFApplication::~PSPFApplication | ( | ) | [virtual] |
~PSPFApplication
This metod destroy the PSPFApplication. You must on writing in your game
void PSPFApplication::Initialized | ( | ) |
Initialized.
This method initializes the library. It is of obligatory use and cannot be on writing
virtual void PSPFApplication::Load | ( | ) | [virtual] |
Load.
This method load the resources of the game. This should be sobrescrito in your app and you should implement the game resources shipment. You can make that directly, or using a inheriting class of PSPFLoader.
virtual void PSPFApplication::UnLoad | ( | ) | [virtual] |
Unload.
This method serve to remove of the memory all that was carried by the loader. This should be used to clean the memory of PSP and it should be on writing in your app.
void PSPFApplication::Run | ( | ) |
Run.
This method calls the main game's loop. This will give begin to the phases processing added in PSPFWorldManager.
void PSPFApplication::Terminated | ( | ) |
Terminated.
This method finishes the application. This concludes the library and should be called before the app's destruction.
void PSPFApplication::Splash | ( | unsigned long | time = 100 |
) |
Splash.
This method implements the exhibition of a splash screen with the logo of PSPFramwrok. This is not of obligatory use, but we would like that you used. Remember that for you use it, is necessary that your game has the image splash.png in the application paste root (with EBOOT).