You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#define CONSOLE_X = 100 // the size of the console window
#define CONSOLE_Y = 80
//#include "Camera.h"
#include <vector>
struct ConsoleObject
{
char Symbol; // its charcter rep symbol
int x, y; // on screen coords
};
class GraphicsClass // for the purposes of this game---- this is going to be the console
{
public:
GraphicsClass();
~GraphicsClass();
GraphicsClass(GraphicsClass&);
void Draw(); // draws list of targets
void AddTarget(ConsoleObject&);
private:
std::vector<ConsoleObject*> _objectsToDraw; //list of pointers to targets to draw (in this case, instead of vertex coords, we supply a console object to draw)
//Camera* _camera (viewport of the size of the console window)