<script lang="ts">
    import type { GameTab } from "../types";

    export let setTab: (tab: GameTab) => void;
</script>

<nav>
    <button
        class="invisible"
        on:click={ () => setTab('village') }
    >
        Village
    </button>
    <button
        class="invisible"
        on:click={ () => setTab('resources') }
    >
        Resources
    </button>
</nav>
