Mercurial > hg > Members > koba > t_dandy
view ppe/chara_state1.cc @ 70:cee55c8365e9 default tip
fix
author | Kazuma |
---|---|
date | Thu, 19 May 2016 18:52:26 +0900 |
parents | 39e643fc4f90 |
children | 978097c6427a |
line wrap: on
line source
#include "task_base.h" #include "task_object.h" SchedDefineTask1(State1, state1); static int state1(SchedTask *smanager, void *rbuf, void *wbuf) { CHARACTER *p = (CHARACTER*)smanager->get_input(rbuf, 0); p->x -= p->vx; p->y -= p->vy; p->task = STATE1; smanager->swap(); return 0; }