예제 #1
0
        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;
        }