/// <summary> /// Create a new UpdateParamaters with the values specified. /// </summary> /// <param name="UpdateXParam">Whether or not to acknowledge the XIncrease value.</param> /// <param name="UpdateYParam">Whether or not to acknowledge the YIncrease value.</param> /// <param name="followParams">The parameters for mouse following.</param> public UpdateParamaters(bool UpdateXParam, bool UpdateYParam, MouseFollowParams followParams) : this(UpdateXParam, UpdateYParam) { this.MouseFollow = followParams; }
/* /// <summary> /// Create a new UpdateParamaters with the values specified. /// </summary> /// <param name="UpdateXParam">Whether or not to acknowledge the XIncrease value.</param> /// <param name="UpdateYParam">Whether or not to acknowledge the YIncrease value.</param> /// <param name="FixEdgeOffParam">Whether or not to automatically fix the sprite from going off the edge.</param> /// <param name="mouseFollow">Whether or not to follow the mouse.</param> public UpdateParamaters(bool UpdateXParam, bool UpdateYParam, bool FixEdgeOffParam, bool mouseFollow) : this(UpdateXParam, UpdateYParam, FixEdgeOffParam) { this.FixEdgeOff = FixEdgeOffParam; this.FollowMouse = mouseFollow; } */ /// <summary> /// Create a new UpdateParamaters with the values specified, and the default (false) for FixEdgeOff. /// </summary> /// <param name="UpdateXParam">Whether or not to acknowledge the XIncrease value.</param> /// <param name="UpdateYParam">Whether or not to acknowledge the YIncrease value.</param> public UpdateParamaters(bool UpdateXParam, bool UpdateYParam) { this.UpdateX = UpdateXParam; this.UpdateY = UpdateYParam; this.FixEdgeOff = false; #if WINDOWS MouseFollow = new MouseFollowParams(0); #endif }