Sample is a sample game to use as a template for using Katana Engine and Shooter Library.
More...
Sample is a sample game to use as a template for using Katana Engine and Shooter Library.
- Author
- Ryan Appel (ryan@.nosp@m.ryan.nosp@m.-appe.nosp@m.l.co.nosp@m.m)
- Copyright
- © 2012 Shuriken Studios LLC
◆ ExitSelect()
| void Sample::ExitSelect |
( |
MenuScreen * |
pMenuScreen | ) |
|
Callback function for when the exit item is selected.
- Parameters
-
| pMenuScreen | The menu screen that contains the menu item. |
◆ GameplayScreenRemove()
| void Sample::GameplayScreenRemove |
( |
Screen * |
pScreen | ) |
|
Callback function for when the gameplay screen is removed from the screen manager.
- Parameters
-
| pScreen | The screen that is about to be removed. |
◆ Level01Completed()
| void Sample::Level01Completed |
( |
GameObject * |
pGameObject | ) |
|
Callback function for when the level is completed.
- Parameters
-
| pGameObject | The game object that completed the level. Usually an enenmy that was destroyed. |
◆ LevelOverScreenRemove()
| void Sample::LevelOverScreenRemove |
( |
Screen * |
pScreen | ) |
|
Callback function for when the level over screen is removed from the screen manager.
- Parameters
-
| pScreen | The screen that is about to be removed. |
◆ MainMenuScreenRemove()
| void Sample::MainMenuScreenRemove |
( |
Screen * |
pScreen | ) |
|
Callback function for when the main menu is removed from the screen manager.
- Parameters
-
| pScreen | The screen that is about to be removed. |
◆ PauseMenuScreenRemove()
| void Sample::PauseMenuScreenRemove |
( |
Screen * |
pScreen | ) |
|
Callback function for when the pause menu is removed from the screen manager.
- Parameters
-
| pScreen | The screen that is about to be removed. |
◆ PlayerCollectsPowerUp()
Callback function for when a player collects a power up.
- Parameters
-
| pObject1 | The first game object in the collision. |
| pObject2 | The second game object in the collision. |
◆ PlayerCollidesWithEnemy()
Callback function for when a player collides with an enemy.
- Parameters
-
| pObject1 | The first game object in the collision. |
| pObject2 | The second game object in the collision. |
◆ PlayerShootsEnemy()
Callback function for when a player projectile hits an enemy.
- Parameters
-
| pObject1 | The first game object in the collision. |
| pObject2 | The second game object in the collision. |
◆ QuitSelect()
| void Sample::QuitSelect |
( |
MenuScreen * |
pMenuScreen | ) |
|
Callback function for when the quit item is selected.
- Parameters
-
| pMenuScreen | The menu screen that contains the menu item. |
◆ ResumeSelect()
| void Sample::ResumeSelect |
( |
MenuScreen * |
pMenuScreen | ) |
|
Callback function for when the resume item is selected.
- Parameters
-
| pMenuScreen | The menu screen that contains the menu item. |
◆ StartSelect()
| void Sample::StartSelect |
( |
MenuScreen * |
pMenuScreen | ) |
|
Callback function for when the start item is selected.
- Parameters
-
| pMenuScreen | The menu screen that contains the menu item. |