main.cpp(85) : error C2259: 'CGame' : cannot instantiate abstract class
1> due to following members:
1> 'bool irr::IEventReceiver::OnEvent(const irr::SEvent &)' : is abstract
1> c:\users\bakara\desktop\myirrlichtapp\include\ieventreceiver.h(441) : see declaration of 'irr::IEventReceiver::OnEvent'
This refers to
Code: Select all
class CGame : public IEventReceiver , public CStateGraphT<CGame, SEvent>
{
public:
......
....
...
....
....
//! adapt from irrlicht event handling to ours
virtual bool OnEvent(SEvent event)
{
return onEvent(event);
}