flimEngine
Level3 Class Reference

#include <Level3.h>

Inheritance diagram for Level3:
Inheritance graph
Collaboration diagram for Level3:
Collaboration graph

Public Member Functions

 Level3 ()=default
 
 Level3 (const Level3 &)=default
 
virtual ~Level3 ()=default
 
const Level3operator= (const Level3 &)=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

TankplayerTank
 
EnemyenemyTank1
 
EnemyenemyTank2
 
EnemyenemyTank3
 
Sentrysentry1
 
Sentrysentry2
 
Sentrysentry3
 
Sentrysentry4
 
TankWorldworld
 
HUDhud
 
errcode err
 
flimSoundmusic
 
flimSoundambience
 

Constructor & Destructor Documentation

◆ Level3() [1/2]

Level3::Level3 ( )
default

◆ Level3() [2/2]

Level3::Level3 ( const Level3 )
default

◆ ~Level3()

virtual Level3::~Level3 ( )
virtualdefault

Member Function Documentation

◆ Initialize()

errcode Level3::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 Level3& Level3::operator= ( const Level3 )
delete

◆ Terminate()

errcode Level3::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

◆ ambience

flimSound* Level3::ambience
private

◆ enemyTank1

Enemy* Level3::enemyTank1
private

◆ enemyTank2

Enemy* Level3::enemyTank2
private

◆ enemyTank3

Enemy* Level3::enemyTank3
private

◆ err

errcode Level3::err
private

◆ hud

HUD* Level3::hud
private

◆ music

flimSound* Level3::music
private

◆ playerTank

Tank* Level3::playerTank
private

◆ sentry1

Sentry* Level3::sentry1
private

◆ sentry2

Sentry* Level3::sentry2
private

◆ sentry3

Sentry* Level3::sentry3
private

◆ sentry4

Sentry* Level3::sentry4
private

◆ world

TankWorld* Level3::world
private

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