/* Irrlicht Library Wrapper Created by: Nathan Adams Denzel Morris Copyright (C) 2007 This software is licensed under the GNU/GPL. This software may not be used for commerical purposes. */ #ifndef IRREVENTRECIEVER_H #define IRREVENTRECIEVER_H //#include "IrrLib.h" #include #include #include "IrrLibBase.h" struct _mouse { int x; int y; }; class IrrEventReciever : public irr::IEventReceiver, public IrrLibBase { private: //IrrLib callingIrrLib; _mouse mouse; bool escexit; std::vector buttonStates; public: bool mouseStates[1]; IrrEventReciever(); int getMouseX(); int getMouseY(); bool keyStates[irr::KEY_KEY_CODES_COUNT]; //void setIrrLib(IrrLib& IrrLib) virtual bool OnEvent(irr::SEvent event); void SetEscExit(bool onoff); int getButtonState(); int getRevButtonState(); void clearButtonState(); int checkButtonState(); void delLastButtonStat(); bool isButtonStateEmpty(); //is there still stuff in the vector to be done? NA }; #endif