flimEngine
IntroScene Class Reference

#include <IntroScene.h>

Inheritance diagram for IntroScene:
Inheritance graph
Collaboration diagram for IntroScene:
Collaboration graph

Public Member Functions

 IntroScene ()=default
 
 IntroScene (const IntroScene &)=default
 
virtual ~IntroScene ()=default
 
const IntroSceneoperator= (const IntroScene &)=delete
 
errcode Initialize () override
 Initializes this object. More...
 
errcode Terminate () override
 Gets the terminate. More...
 
- Public Member Functions inherited from Scene
 Scene ()
 
 Scene (const Scene &)=default
 
virtual ~Scene ()
 
const Sceneoperator= (const Scene &)=delete
 
CameraManagerGetCamera ()
 Gets the camera. More...
 
errcode SetTerrain (const char *terrainName)
 Sets a terrain. More...
 
FlimTerrainGetTerrain () const
 Gets the terrain. More...
 
template<typename C1 , typename C2 >
errcode SetCollisionPair ()
 Registers collision for two gameobject types with one another. More...
 
template<typename C >
errcode SetCollisionSelf ()
 Registers collision for a gameobject type with itself. More...
 
template<typename C >
errcode SetCollisionTerrain ()
 Sets collision terrain. More...
 

Private Attributes

Logologo
 
flimSoundmusic
 
errcode err
 

Constructor & Destructor Documentation

◆ IntroScene() [1/2]

IntroScene::IntroScene ( )
default

◆ IntroScene() [2/2]

IntroScene::IntroScene ( const IntroScene )
default

◆ ~IntroScene()

virtual IntroScene::~IntroScene ( )
virtualdefault

Member Function Documentation

◆ Initialize()

errcode IntroScene::Initialize ( )
overridevirtual

Initializes this object.

Author
Jack Campbell
Date
3/12/2017
Virtual method for inherited scenes. Initialize all parts of your scene here.
{
// make a new tank via a factory, set up the HUD, spawn enemies
}
Returns
An errcode.

Implements Scene.

◆ operator=()

const IntroScene& IntroScene::operator= ( const IntroScene )
delete

◆ Terminate()

errcode IntroScene::Terminate ( )
overridevirtual

Gets the terminate.

Author
Jack Campbell
Date
3/12/2017
Virtual callback for the ending of a scene. Clean up all the components of your scene.
{
//scene has been ended. Return your tank to its factory, delete the HUD, make sure all enemies have been cleaned
}
Returns
An errcode.

Implements Scene.

Member Data Documentation

◆ err

errcode IntroScene::err
private

◆ logo

Logo* IntroScene::logo
private

◆ music

flimSound* IntroScene::music
private

The documentation for this class was generated from the following files: