示例#1
0
文件: Enter.cs 项目: bbailey/WheelMUD
        /// <summary>Executes the command.</summary>
        /// <param name="actionInput">The full input specified for executing the command.</param>
        public override void Execute(ActionInput actionInput)
        {
            IController sender = actionInput.Controller;

            enterableBehavior.Enter(sender.Thing);
        }
示例#2
0
 /// <summary>Executes the command.</summary>
 /// <param name="actionInput">The full input specified for executing the command.</param>
 public override void Execute(ActionInput actionInput)
 {
     enterableBehavior.Enter(actionInput.Controller.Thing);
 }
示例#3
0
 /// <summary>Executes the command.</summary>
 /// <param name="actionInput">The full input specified for executing the command.</param>
 public override void Execute(ActionInput actionInput)
 {
     enterableBehavior.Enter(actionInput.Actor);
 }