public Crater(GameWorldCore gwc, Vector2 pos, float radius) { mRadius = radius; mGameWorldCore = gwc; mPosition = pos; mPrimitiveBatch = new Core.PrimitiveBatch(gwc.Camera, mGameWorldCore.Graphics.GraphicsDevice); }
public Cone(GameWorldCore gwc, Agent castingAgent, DirectionOfPull forceDirection ) { mCastingAgent = castingAgent; mPosition = castingAgent.CurrentPosition; mOrientation = castingAgent.CurrentRotation; mTimer = castingAgent.RoarProperties.mDuration; mGameWorldCore = gwc; mRange = castingAgent.RoarProperties.mRange; mDegrees = castingAgent.RoarProperties.mDegrees; mForceDirection = forceDirection; mPrimitiveBatch = new Core.PrimitiveBatch(gwc.Camera, mGameWorldCore.Graphics.GraphicsDevice); }