예제 #1
0
		/// <summary>
		/// Construct an action belonging to a given action set.
		/// </summary>
		/// <param name="name">A unique identifier for this action within the context of its owning action set.</param>
		/// <param name="owner">The action set to contain (own) this action.</param>
		public PlayerAction( string name, PlayerActionSet owner )
		{
			Raw = true;
			Name = name;
			Owner = owner;
			bindings = new ReadOnlyCollection<BindingSource>( visibleBindings );
		}
예제 #2
0
 internal static void DetachPlayerActionSet(PlayerActionSet playerActionSet)
 {
     playerActionSets.Remove(playerActionSet);
 }