public void BeingChoped(VisualJack chopper) { int dirx = Clamp_101(x - chopper.x); int diry = Clamp_101(y - chopper.y); StartCoroutine(BeingChoped2(dirx, diry)); }
public void ChopTree(VisualJack chopper, int x, int y) { if (!ValidIndex(x, y)) { throw new UnityException("wtf ? x,y= " + x + "," + y); } if (trees[x, y] == null) { throw new UnityException("wtf no treed? x,y= " + x + "," + y); } trees[x, y].BeingChoped(chopper); trees[x, y] = null; }
public void BeingChop(VisualJack visualJack) { Debug.LogError("NotImplementedException"); }
public void Chop(VisualJack visualJack) { Chop(visualJack.x, visualJack.y); }