diff options
author | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-03-25 13:51:16 +0000 |
---|---|---|
committer | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-03-25 13:51:16 +0000 |
commit | e33464c9892a8dc26cb0ea2a6e6c3e3585a1f518 (patch) | |
tree | 15d757214f7af1622d47fc15cb80aae3f543b28b /towernbullet.h | |
parent | 10923b7c3ff5d5b022d45442dfd6a83782c93e61 (diff) | |
download | bullet-lab-remix-e33464c9892a8dc26cb0ea2a6e6c3e3585a1f518.tar.xz |
Two levels, one new interface for BCircle.
Diffstat (limited to 'towernbullet.h')
-rw-r--r-- | towernbullet.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/towernbullet.h b/towernbullet.h index 5d6ad95..d3d408c 100644 --- a/towernbullet.h +++ b/towernbullet.h @@ -2014,6 +2014,11 @@ public: void SetDT(double _DT){DT=_DT;} double GetDT(){return DT;} double GetRad(){return radian;} + void circ2pnt() + { + for(int i=1;i<=BCnt;++i) + CreateBullet255(Bullets[i].bulletpos.x,Bullets[i].bulletpos.y,10); + } void Update() { DT+=hge->Timer_GetDelta(); |