Mercurial > hg > Members > koba > t_dandy
view spe/SimpleState.cc @ 70:cee55c8365e9 default tip
fix
author | Kazuma |
---|---|
date | Thu, 19 May 2016 18:52:26 +0900 |
parents | 927401604461 |
children |
line wrap: on
line source
#include "SimpleState.h" #include "Character_state.h" #include "tobject.h" SchedDefineTask(SimpleState); static int run(SchedTask *smanager, void *rbuf, void *wbuf) { CHARACTER *p = (CHARACTER*)smanager->get_input(rbuf, 0); p = (*p->state)(p); smanager->swap(); return 0; }