Mercurial > hg > Members > koba > t_dandy
annotate ppe/Enemy.cc @ 37:6989f8cb0259
fix.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 09 Jan 2011 23:14:26 +0900 |
parents | 39e643fc4f90 |
children |
rev | line source |
---|---|
33 | 1 #include "task_object.h" |
2 #include "../ObjectType.h" | |
3 | |
4 | |
5 void | |
6 Putenemy(int charano, float x, float y, float vx, float vy, int task, ObjDataPtr obj) | |
7 { | |
8 obj->type = Enemy; | |
9 obj->charano = charano; | |
10 obj->x = x; | |
11 obj->y = y; | |
12 obj->vx = vx; | |
13 obj->vy = vy; | |
14 obj->task = task; | |
15 } |