안되네...

잡담 2010. 8. 17. 13:42


class FirstSelect
{
public:
 int cursel;
 FirstSelect(){cursel = 0;}
 void test(const DirectInput& ksooinput, State* st, void* param)
 {}
};

 


class State
{
public:
 map<tstring, void(const DirectInput& ksooinput, State* st, void* param)> inputhandler;
 map<tstring, void(State* st, void* param)> renderhandler;
};

FirstSelect firstselect;
State state;
state.inputhandler["firstselect"] = firstselect.test;

'잡담' 카테고리의 다른 글

기절ㅋ  (0) 2010.09.01
참 난감한 상황입니다.  (1) 2010.08.20
휴 한자능력검정시험 준비 사람이 피폐해진다.  (2) 2010.08.13
어휴 답답해  (0) 2010.08.10
http://archive.org 들어가봤습니다...  (1) 2010.07.24
: