Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public PVecInt ScreenSpacePosition; // screen-space hack to make things line up good. public Turret(int[] offset, float recoilRecovery) { ScreenSpacePosition = (PVecInt)offset.AbsOffset().ToInt2(); UnitSpacePosition = (PVecInt)offset.RelOffset().ToInt2(); RecoilRecovery = recoilRecovery; }