From e33464c9892a8dc26cb0ea2a6e6c3e3585a1f518 Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Tue, 25 Mar 2014 13:51:16 +0000 Subject: Two levels, one new interface for BCircle. --- towernbullet.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'towernbullet.h') 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(); -- cgit v1.2.3