SimulatedShot struct
#include <Jazz2/Editor/Shell/WeaponPreview.h>
A shot of the firing range, frame by frame.
Public variables
- SmallVector<Vector2f, 0> Points
- Position in each frame, a beam has only where it starts and where it ends.
- SmallVector<float, 0> Angles
- Angle it flies at in each frame.
-
std::
int32_t Frames - Frames it lasts.
-
std::
int32_t StartFrame - Frame it's fired at, a weapon held fires again and again.
- bool AltSprite
- Whether it has the second sprite, see WeaponShotOptions::
AltSprite. - bool FlippedX
- Whether its sprite is flipped horizontally, beyond turning to where it flies.
- bool FlippedY
- Whether its sprite is flipped vertically.
- SimulatedShotEnd End
- How it ended.
-
std::
int32_t TargetHits - How many times it hit the target.