Flock You!
 All Classes Files Functions Variables
Public Member Functions | Private Attributes | List of all members
Help Class Reference

Creates an Help object that inherits State Creates an Help object that inherits State and runs the Help. More...

#include <help.h>

Inheritance diagram for Help:
Inheritance graph
Collaboration diagram for Help:
Collaboration graph

Public Member Functions

 Help (StateManager *, SDL_Renderer *, int, int)
 
 ~Help ()
 
bool input ()
 
void update (float deltaTime)
 
void draw ()
 
- Public Member Functions inherited from State
 State (StateManager *, SDL_Renderer *, int, int)
 
virtual ~State ()
 

Private Attributes

std::vector< Text * > text
 

Additional Inherited Members

- Protected Attributes inherited from State
StateManagerstateManager
 
SDL_Renderer * renderer
 
int screenWidth
 
int screenHeight
 

Detailed Description

Creates an Help object that inherits State Creates an Help object that inherits State and runs the Help.

Constructor & Destructor Documentation

Help::Help ( StateManager inStateManager,
SDL_Renderer *  inRenderer,
int  inWidth,
int  inHeight 
)

Constructs an Help object

Parameters
StateManager* a pointer to the StateManager
SDL_Renderer* a pointer to the renderer
intthe screen width
intthe screen height
Help::~Help ( )

Destructs an Help object

Member Function Documentation

void Help::draw ( )
virtual

A function to draw to the screen

Implements State.

bool Help::input ( )
virtual

Handles the Help input

Returns
bool if false the quit the Help State

Implements State.

Here is the call graph for this function:

void Help::update ( float  deltaTime)
virtual

A function to update the Help A function to update the Help to allow the Help to run

Parameters
floatthe delta time

Implements State.

Member Data Documentation

std::vector<Text *> Help::text
private

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