示例#1
0
 /*
  * public static bool EnemyTowerExists(DirectBitmap src)
  * {
  *  return PixelExists(src, EnemyTowerColor);
  * }
  *
  * public static bool AllyCreepExists(DirectBitmap src)
  * {
  *  return PixelExists(src, AllyCreepColor);
  * }
  *
  * public static bool EnemyCreepExists(DirectBitmap src)
  * {
  *  return PixelExists(src, EnemyCreepColor);
  * }*/
 public static System.Drawing.Point AllyCreepPosition(DirectBitmap src)
 {
     return(GetPoint(src, AllyCreepColor));
 }
示例#2
0
 public static System.Drawing.Point EnemyTowerPosition(DirectBitmap src)
 {
     return(GetPoint(src, EnemyTowerColor));
 }