-
- All Implemented Interfaces:
public final class PolarEntityInWeaponConerepresentation of an entity (or entities) in polar coordinates, relative to given line this is used to represent entities in a weapon cone a coordinate of 0 means perfectly aligned with weapon facing
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPolarEntityInWeaponCone.Companion
-
Constructor Summary
Constructors Constructor Description PolarEntityInWeaponCone(Vector2f weaponLoc, Vector2f aimPoint, Float spreadDeg, Vector2f targetLoc, Float radius)
-
Method Summary
Modifier and Type Method Description final BooleanisValid()final UnitobstructWith(PolarEntityInWeaponCone obstruction)final FloatgetUnobstructedLength()-
-
Method Detail
-
obstructWith
final Unit obstructWith(PolarEntityInWeaponCone obstruction)
-
getUnobstructedLength
final Float getUnobstructedLength()
-
-
-
-