21 lines
264 B
C
21 lines
264 B
C
|
#ifndef GRAPHICSSYSTEM_H
|
||
|
#define GRAPHICSSYSTEM_H
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
#include "GraphicsObject.h"
|
||
|
|
||
|
class GraphicsSystem
|
||
|
{
|
||
|
public:
|
||
|
void AddObject(GraphicsObject *obj)
|
||
|
{
|
||
|
objects.push_back(obj);
|
||
|
}
|
||
|
|
||
|
//private:
|
||
|
std::vector<GraphicsObject*> objects;
|
||
|
};
|
||
|
|
||
|
#endif
|