Example #1
0
 public Arrow Process(GameInfo gameInfo, BlockType[] mineField)
 {
     try
     {
         return (Arrow)engin.Script.Process(gameInfo.PlayerPosition.ToArray(), gameInfo.PlayerPower.ToArray(), gameInfo.PlayerStun.ToArray(), mineField.Select(item => (int)item).ToArray());
     }
     catch (Exception e)
     {
         return 0;
     }
 }