class Global
{
//Variables
public:
Global();
static IrrlichtDevice* Idevice;
static video::IVideoDriver* Idriver;
static scene::ISceneManager* Iscene;
static gui::IGUIEnvironment* Igui;
static core::array<Model> Iscenenodes;
static core::array<Camera> Cameras;
static bool isdebugged;
};
Now Model and Camera are both childs of global. In a global array I have set it's type to Model and Camera and I get an error:
14 C:\Documents and Settings\Owner\Desktop\Easy Engine\Global.h `Model' was not declared in this scope
Does anyone know how I would fix this. I haven't learnt how to reference to a child inside a parent yet. Thanks.