public static GrasTile GetTileSave(SimpleCords cords) { if (cords.X >= 0 && cords.X < width && cords.Y >= 0 && cords.Y < height) { GrasTile t = garden[cords.X, cords.Y]; return(t); } return(null); }
public GrasTile(SimpleCords position) { this.position = position; }
public SimpleCords(SimpleCords cords) { X = cords.X; Y = cords.Y; }