public override void WalkCommand (IBoardWalkCommand command)
		{
			command.Exec (command.PossiblePoints.IndexOf(m_target));
		}
예제 #2
0
		public override void WalkCommand (IBoardWalkCommand command)
		{
			var index = command.PossiblePoints.IndexOf (m_target);

			if(index >= 0)
				Result = command.Exec (index);
		}