Add in Charged Shot ability and allow precasting without the targeting indicator.

This commit is contained in:
2023-07-25 18:37:12 -05:00
parent 918fc112bd
commit 045441b595
17 changed files with 74 additions and 5 deletions
+4
View File
@@ -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();
}