public void Set(ControlScheme other) { move = other.move; jump = other.jump; kick = other.kick; kickCancel = other.kickCancel; kickAim = other.kickAim; restart = other.restart; }
/// <summary> /// Removes a control to one of the gutters. /// </summary> public void RemoveFromGutter(Control2D control) { foreach (var gutter in _gutters.Values) { if (gutter.ContainsChild(control)) gutter.RemoveChild(control); } }
/// <summary> /// Adds a control to one of the gutters. /// </summary> public void AddToGutter(Side side, Control2D control) { _gutters[side].AddChild(control); }