Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }