2009-04-19 18:07:22 +00:00
|
|
|
|
|
|
|
#region ================== Copyright (c) 2007 Pascal vd Heiden
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
|
|
|
|
* This program is released under GNU General Public License
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region ================== Namespaces
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
namespace CodeImp.DoomBuilder.Actions
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// This binds a method to an action which is then called when the action is started.
|
|
|
|
/// </summary>
|
2016-02-01 22:04:00 +00:00
|
|
|
public sealed class BeginActionAttribute : ActionAttribute
|
2009-04-19 18:07:22 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// This binds a method to an action which is then called when the action is started.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="action">The action name as defined in Actions.cfg resource.</param>
|
|
|
|
public BeginActionAttribute(string action) : base(action)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|