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