import { Theme } from "../../../src/generation/theme/Theme.js";
import { TerrainTheme } from "../../../src/generation/theme/TerrainTheme.js";
import { TerrainLayerRule } from "../../../src/generation/theme/TerrainLayerRule.js";
import { CellFilterCellMatcher } from "../../../src/generation/filtering/CellFilterCellMatcher.js";
import { matcher_tag_traversable } from "../rules/matcher_tag_traversable.js";
import { matcher_tag_not_traversable } from "../rules/matcher_tag_not_traversable.js";

export const SampleTheme2 = new Theme();

const terrainTheme1 = new TerrainTheme();

const tlrGround1 = TerrainLayerRule.from(CellFilterCellMatcher.from(matcher_tag_traversable), 4);

const tlrRock1 = TerrainLayerRule.from(CellFilterCellMatcher.from(matcher_tag_not_traversable), 5);

tlrRock1.rule = rockRule1;

terrainTheme1.rules.push(tlrGround1);
terrainTheme1.rules.push(tlrRock1);

SampleTheme2.terrain = terrainTheme1;
