rendered paste bodypublic void AddTile(Tile tile, bool eventCall)
{
int x = tile.GetCoord().X;
int y = tile.GetCoord().Z;
Console.WriteLine("Before check with " + tile.GetCoord() + " event: " + eventCall);
if (tile.GetCoord().X == 0 && tile.GetCoord().Z == 0)
{
iAdded = 0;
Console.WriteLine("Reset iAdded to 0, coordinate was " + tile.GetCoord() + " event: " + eventCall);
}
System.Windows.Forms.MessageBox.Show(tile.GetCoord().ToString() + " and = " + iAdded.ToString() + " evented: " + eventCall);
Console.WriteLine("iAdded = " + iAdded + " while " + tile.GetCoord() + " is this event?: " + eventCall);
if (x == 0)