flimEngine
Flim Class Reference

#include <Flim.h>

Inheritance diagram for Flim:
Inheritance graph
Collaboration diagram for Flim:
Collaboration graph

Static Public Member Functions

static void Run ()
 Runs the game. More...
 
static int GetHeight ()
 Gets the height of the window. More...
 
static int GetWidth ()
 Gets the width of the window. More...
 
static void SetColor (float r, float g, float b, float a)
 Sets an RGBA color for the background. More...
 
static void SetWidthHeight (int x, int y)
 Sets width and height of window. More...
 
static void SetWindowName (char *in)
 Sets window name. More...
 
static std::string GetWindowName ()
 Gets window name. More...
 
static Vect GetColor ()
 Gets the color. More...
 

Private Member Functions

 Flim ()
 
 Flim (const Flim &)=delete
 
Flimoperator= (const Flim &)=delete
 
 ~Flim ()
 
virtual void Initialize ()
 
virtual void LoadContent ()
 
virtual void Update ()
 
virtual void Draw ()
 
virtual void UnLoadContent ()
 
void GameTerminate ()
 Game terminate. More...
 
void LoadResources ()
 User area to load resources. More...
 
void GameInitialize ()
 Callback to offer access to game initialization. More...
 
Vect privGetColor ()
 
std::string privGetWindowName ()
 

Static Private Member Functions

static FlimInstance ()
 
static float GetTime ()
 

Private Attributes

std::string name
 

Static Private Attributes

static Fliminstance = nullptr
 

Friends

class FlimTime
 

Constructor & Destructor Documentation

◆ Flim() [1/2]

Flim::Flim ( )
inlineprivate

◆ Flim() [2/2]

Flim::Flim ( const Flim )
privatedelete

◆ ~Flim()

Flim::~Flim ( )
private

Member Function Documentation

◆ Draw()

void Flim::Draw ( )
privatevirtual

◆ GetTime()

static float Flim::GetTime ( )
inlinestaticprivate

◆ Initialize()

void Flim::Initialize ( )
privatevirtual

◆ Instance()

static Flim& Flim::Instance ( )
inlinestaticprivate

◆ LoadContent()

void Flim::LoadContent ( )
privatevirtual

◆ operator=()

Flim& Flim::operator= ( const Flim )
privatedelete

◆ privGetColor()

Vect Flim::privGetColor ( )
private

◆ privGetWindowName()

std::string Flim::privGetWindowName ( )
private

◆ Run()

static void Flim::Run ( )
inlinestatic

Runs the game.

Author
Jack Campbell
Date
3/5/2017

◆ UnLoadContent()

void Flim::UnLoadContent ( )
privatevirtual

◆ Update()

void Flim::Update ( )
privatevirtual

Friends And Related Function Documentation

◆ FlimTime

friend class FlimTime
friend

Member Data Documentation

◆ instance

Flim * Flim::instance = nullptr
staticprivate

◆ name

std::string Flim::name
private

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