public void Show() { _force.Y = _forceLimits.X; _force.X = _forceLimits.Z; State = EJumpHandler.showing; State = EJumpHandler.shown; }
public override void Initialize() { _forceLimits = new Vector4(-5, -25, 1, 10); _force = new Vector2(5, 0); State = EJumpHandler.hidden; graphics = (GraphicsDeviceManager)Game.Services.GetService(typeof(IGraphicsDeviceManager)); previousGameTimes = new float[50]; for (int i = 0; i < previousGameTimes.Length; i++) { previousGameTimes[i] = 0; } base.Initialize(); }
public void Hide() { State = EJumpHandler.hiding; State = EJumpHandler.hidden; }