Пример #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="step"></param>
 /// <param name="position"></param>
 public CavebotAction(int id, PXG.Position position, ActionTypes action)
 {
     ID       = id;
     Name     = "";
     Action   = action;
     Position = position;
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="step"></param>
 /// <param name="position"></param>
 /// <param name="action"></param>
 /// <param name="args"></param>
 /// <param name="condition"></param>
 public CavebotAction(int id, PXG.Position position, ActionTypes action, string name = "", string[] args = null, Func <bool> condition = null)
 {
     ID        = id;
     Name      = name;
     Position  = position;
     Action    = action;
     Arguments = args;
     Condition = condition;
 }