import{_ase,cast,oasa,Nasr}from"./chunks/framework.0799945b.js";constg=JSON.parse('{"title":"Module: features/grids/grid","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/features/grids/grid.md","lastUpdated":null}'),d={name:"api/modules/features/grids/grid.md"},o=r('<h1id="module-features-grids-grid"tabindex="-1">Module:features/grids/grid<aclass="header-anchor"href="#module-features-grids-grid"aria-label="Permalink to "Module: features/grids/grid""></a></h1><h2id="components"tabindex="-1">Components<aclass="header-anchor"href="#components"aria-label="Permalinkto"Components""></a></h2><ul><li><ahref="./GridCellComponent">GridCell</a></li><li><ahref="./GridComponent">Grid</a></li></ul><h2id="interfaces"tabindex="-1">Interfaces<aclass="header-anchor"href="#interfaces"aria-label="Permalinkto"Interfaces""></a></h2><ul><li><ahref="../../../interfaces/features/grids/grid.BaseGrid">BaseGrid</a></li><li><ahref="../../../interfaces/features/grids/grid.GridCell">GridCell</a></li><li><ahref="../../../interfaces/features/grids/grid.GridOptions">GridOptions</a></li></ul><h2id="type-aliases"tabindex="-1">TypeAliases<aclass="header-anchor"href="#type-aliases"aria-label="Permalinkto"TypeAliases""></a></h2><h3id="cellcomputable"tabindex="-1">CellComputable<aclass="header-anchor"href="#cellcomputable"aria-label="Permalinkto"CellComputable""></a></h3><p>Ƭ<strong>CellComputable</strong><<code>T</code>>:<ahref="./../../util/computed#computable"><code>Computable</code></a><<code>T</code>>|(<code>id</code>:<code>string</code>|<code>number</code>,<code>state</code>:<ahref="./../../game/persistence#state"><code>State</code></a>)=><code>T</code></p><p>Atyperepresentingacomputablevalueforacellinthegrid.</p><h4id="type-parameters"tabindex="-1">Typeparameters<aclass="header-anchor"href="#type-parameters"aria-label="Permalinkto"Typeparameters""></a></h4><table><thead><tr><thstyle="text-align:left;">Name</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>T</code></td></tr></tbody></table><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/features/grids/grid.ts#L28"target="_blank"rel="noreferrer">profectus/src/features/grids/grid.ts:28</a></p><hr><h3id="genericgrid"tabindex="-1">GenericGrid<aclass="header-anchor"href="#genericgrid"aria-label="Permalinkto"GenericGrid""></a></h3><p>Ƭ<strong>GenericGrid</strong>:<ahref="./../feature#replace"><code>Replace</code></a><<ahref="./grid#grid"><code>Grid</code></a><<ahref="../../../interfaces/features/grids/grid.GridOptions"><code>GridOptions</code></a>>,{<code>getCanClick</code>:<ahref="./../../util/computed#processedcomputable"><code>ProcessedComputable</code></a><<code>boolean</code>>;<code>getVisibility</code>:<ahref="./../../util/computed#processedcomputable"><code>ProcessedComputable</code></a><<ahref="../../../enums/features/feature.Visibility"><code>Visibility</code></a>|<code>boolean</code>>;<code>visibility</code>:<ahref="./../../util/computed#processedcomputable"><code>ProcessedComputable</code></a><<ahref="../../../enums/features/feature.Visibility"><code>Visibility</code></a>|<code>boolean</code>>}></p><p>Atypethatmatchesanyvalid<ahref="./grid#grid">Grid</a>object.</p><h4id="defined-in-1"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-1"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/features/grids/grid.ts#L293"target="_blank"rel="noreferrer">profectus/src/features/grids/grid.ts:293</a></p><hr><h3id="grid"tabindex="-1">Grid<aclass="header-anchor"href="#grid"aria-label="Permalinkto"Grid