Корабът Радецки - Eight ball pool v 1.0
The documnetation for our physics-themed project.
drawable.cpp File Reference
#include "drawable.hpp"

Namespaces

namespace  DrawableManager
 

Functions

void DrawableManager::CreateAll ()
 Calls the Create() function for every Drawable in the drawablePool. More...
 
void DrawableManager::UpdateAll ()
 Calls the Update() function for every Drawable in the drawablePool. More...
 
void DrawableManager::DrawAll ()
 Calls the Draw() function for every Drawable in the drawablePool. More...
 
void DrawableManager::DestroyAllDrawables ()
 Destroys every Drawable in the drawablePool and clears drawablePool. More...
 
void DrawableManager::DestroyDrawableFromID (int id)
 Iterates through drawablePool and destroys the Drawable corresponding to the ID. More...
 
Drawable * DrawableManager::GetDrawableFromID (int id)
 Get the Drawable From ID object. More...
 

Variables

std::list< Drawable * > DrawableManager::drawablePool
 
int DrawableManager::currentId = 0