Responsible for 2D Draw functions. More...
#include <Drawable2D.h>
Protected Member Functions | |
void | SubmitRegistration () |
Called when wanting to show sprites on screen. | |
void | SubmitDeregistration () |
Called when wanting to hide sprites on screen. | |
Private Member Functions | |
virtual void | Draw2D () |
Fill this with code that occurs during the Draw2D phase. | |
Responsible for 2D Draw functions.
|
privatevirtual |
Fill this with code that occurs during the Draw2D phase.
This function will be where you want to add render calls on your sprites. A GameObject can render multiple sprites in the Draw2D call.
Example:
|
protected |
Called when wanting to hide sprites on screen.
Example:
|
protected |
Called when wanting to show sprites on screen.
Example: