Пример #1
0
 public IAction Do(Control.IController engine)
 {
     return(engine.Step(fields));
 }
Пример #2
0
        public IAction Do(Control.IController engine)
        {
            int step = field - engine.CurrentPlayer.CurrentField < 0 ? (engine.Table.Fields.Length - engine.CurrentPlayer.CurrentField + field) : (field - engine.CurrentPlayer.CurrentField);

            return(engine.Step(step));
        }