コード例 #1
0
 public void Set(ControlScheme other)
 {
     move       = other.move;
     jump       = other.jump;
     kick       = other.kick;
     kickCancel = other.kickCancel;
     kickAim    = other.kickAim;
     restart    = other.restart;
 }
コード例 #2
0
ファイル: DockSpace.cs プロジェクト: erisonliang/monoworks
		/// <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);
			}
		}
コード例 #3
0
ファイル: DockSpace.cs プロジェクト: erisonliang/monoworks
		/// <summary>
		/// Adds a control to one of the gutters.
		/// </summary>
		public void AddToGutter(Side side, Control2D control)
		{
			_gutters[side].AddChild(control);
		}