#include <scene.h>
Inheritance diagram for hoa_scene::SceneMode:


Public Member Functions | |
| void | Draw () |
| Draws the next frame to be displayed on the screen. | |
| void | Reset () |
| Resets appropriate class members. Called whenever SceneMode is made the active game mode. | |
| SceneMode () | |
| void | Update () |
| Updates the game state by the amount of time that has elapsed. | |
| ~SceneMode () | |
Private Attributes | |
| uint32 | _scene_timer |
| Retains the number of milliseconds that have elapsed since this mode was initialized. | |
****************************************************************************
This game mode displays a single full-screen art scene, which are used in various places in the game. The scene can not be exited until the amount of milliseconds defined in MIN_SCENE_UPDATES has expired, to ensure that the user does not accidentally skip the scene and can take the time to appreciate the art.
Definition at line 54 of file scene.h.
| hoa_scene::SceneMode::SceneMode | ( | ) |
Definition at line 36 of file scene.cpp.
References hoa_mode_manager::MODE_MANAGER_SCENE_MODE, hoa_mode_manager::GameMode::mode_type, and hoa_scene::SCENE_DEBUG.
| hoa_scene::SceneMode::~SceneMode | ( | ) |
| void hoa_scene::SceneMode::Draw | ( | ) | [virtual] |
| void hoa_scene::SceneMode::Reset | ( | ) | [virtual] |
Resets appropriate class members. Called whenever SceneMode is made the active game mode.
Implements hoa_mode_manager::GameMode.
Definition at line 56 of file scene.cpp.
References _scene_timer.
| void hoa_scene::SceneMode::Update | ( | ) | [virtual] |
Updates the game state by the amount of time that has elapsed.
Implements hoa_mode_manager::GameMode.
Definition at line 63 of file scene.cpp.
References _scene_timer, hoa_input::GameInput::CancelPress(), hoa_input::GameInput::ConfirmPress(), hoa_system::GameSystem::GetUpdateTime(), hoa_input::InputManager, hoa_scene::private_scene::MIN_SCENE_UPDATES, hoa_mode_manager::ModeManager, hoa_mode_manager::GameModeManager::Pop(), and hoa_system::SystemManager.
Here is the call graph for this function:

uint32 hoa_scene::SceneMode::_scene_timer [private] |
1.5.1