Add in Charged Shot ability and allow precasting without the targeting indicator.
This commit is contained in:
@@ -2,4 +2,8 @@
|
||||
|
||||
float util::random(float range){
|
||||
return float(rand())/RAND_MAX*range;
|
||||
}
|
||||
|
||||
vf2d util::pointTo(vf2d posFrom,vf2d posTo){
|
||||
return geom2d::line(posFrom,posTo).vector().norm();
|
||||
}
|
||||
Reference in New Issue
Block a user