diff options
author | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-04-02 13:51:32 +0000 |
---|---|---|
committer | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-04-02 13:51:32 +0000 |
commit | 85923eb8a5d3f070618c3d6f94bea715c11a4227 (patch) | |
tree | 33b324540ac4ef98ad87d658c2f847dec3244c06 /towernbullet.h | |
parent | 9884abca9d646fe3b27d95efc3a6d2211de45968 (diff) | |
download | bullet-lab-remix-85923eb8a5d3f070618c3d6f94bea715c11a4227.tar.xz |
New assessment level...
Done syncing svn revision and build number~
Use svn revision in changelog and version from now on.
Diffstat (limited to 'towernbullet.h')
-rw-r--r-- | towernbullet.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/towernbullet.h b/towernbullet.h index 2cba49c..4b8a4f4 100644 --- a/towernbullet.h +++ b/towernbullet.h @@ -2851,6 +2851,16 @@ public: for(int i=1;i<MaxRes;++i)Setdata(i,b-width*pd,b+width*pd,color); } double GetWidth(){return width;} + void llsrtopnt(double dis) + { + vector2d dir=a-b;dir.ToUnitCircle();dir=dis*dir; + vector2d x=b; + while(x.x<=-25||x.x>=825||x.y<=-25||x.y>=625) + { + CreateBullet255(x.x,x.y,10); + x=x+dir; + } + } //use Laser::Process... }; class SimpLL:public LineLaser |