using Sandbox;
public static class GridRules
{
public static bool CanMoveTo(GridMap map, int x, int y)
{
if (!map.InBounds(x, y)) return false;
if (map.IsWall(x, y)) return false;
// Ansoihin ja ovien alle saa mennä
return true;
}
}