27 lines
No EOL
61 KiB
HTML
27 lines
No EOL
61 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en-US">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>Module: game/layers | Profectus</title>
|
|
<meta name="description" content="A game engine that grows with you.">
|
|
<link rel="stylesheet" href="/assets/style.e3402314.css">
|
|
<link rel="modulepreload" href="/assets/app.cf939732.js">
|
|
<link rel="modulepreload" href="/assets/api_modules_game_layers.md.2cf8abc8.lean.js">
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,400;0,600;1,400">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
<link rel="manifest" href="/site.webmanifest">
|
|
<script defer="true" data-domain="moddingtree.com" src="https://plausible.io/js/plausible.js"></script>
|
|
<meta name="og:description" content="A game engine that grows with you">
|
|
<meta name="og:image" content="/Logo.png">
|
|
</head>
|
|
<body>
|
|
<div id="app"><div class="Layout" data-v-6b5fd0a9><!--[--><!--]--><!--[--><span tabindex="-1" data-v-45f6ae50></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-45f6ae50> Skip to content </a><!--]--><!----><header class="VPNav" data-v-6b5fd0a9 data-v-0e356168><div class="VPNavBar has-sidebar" data-v-0e356168 data-v-8856f192><div class="container" data-v-8856f192><div class="VPNavBarTitle has-sidebar" data-v-8856f192 data-v-6a6f7ff6><a class="title" href="/" data-v-6a6f7ff6><!--[--><img class="VPImage logo" src="/favicon.svg" data-v-73ae1788><!--]--><!--[-->Profectus<!--]--></a></div><div class="content" data-v-8856f192><!----><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-8856f192 data-v-a30758ee><span id="main-nav-aria-label" class="visually-hidden" data-v-a30758ee>Main Navigation</span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/guide/" data-v-a30758ee data-v-8fba5fa8 data-v-5704c677><!--[-->Guide<!--]--><!----></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink active" href="/api/overview.html" data-v-a30758ee data-v-8fba5fa8 data-v-5704c677><!--[-->API<!--]--><!----></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="https://forums.moddingtree.com" target="_blank" rel="noopener noreferrer" data-v-a30758ee data-v-8fba5fa8 data-v-5704c677><!--[-->Forums<!--]--><!----></a><!--]--><!--]--></nav><!----><!----><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-8856f192 data-v-0ae890f7 data-v-4dcbaf3a><!--[--><a class="VPSocialLink" href="https://discord.gg/F3xveHV" title="discord" target="_blank" rel="noopener noreferrer" data-v-4dcbaf3a data-v-48c45ef6><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="icon" data-v-48c45ef6><path d="M20.222 0c1.406 0 2.54 1.137 2.607 2.475V24l-2.677-2.273-1.47-1.338-1.604-1.398.67 2.205H3.71c-1.402 0-2.54-1.065-2.54-2.476V2.48C1.17 1.142 2.31.003 3.715.003h16.5L20.222 0zm-6.118 5.683h-.03l-.202.2c2.073.6 3.076 1.537 3.076 1.537-1.336-.668-2.54-1.002-3.744-1.137-.87-.135-1.74-.064-2.475 0h-.2c-.47 0-1.47.2-2.81.735-.467.203-.735.336-.735.336s1.002-1.002 3.21-1.537l-.135-.135s-1.672-.064-3.477 1.27c0 0-1.805 3.144-1.805 7.02 0 0 1 1.74 3.743 1.806 0 0 .4-.533.805-1.002-1.54-.468-2.14-1.404-2.14-1.404s.134.066.335.2h.06c.03 0 .044.015.06.03v.006c.016.016.03.03.06.03.33.136.66.27.93.4.466.202 1.065.403 1.8.536.93.135 1.996.2 3.21 0 .6-.135 1.2-.267 1.8-.535.39-.2.87-.4 1.397-.737 0 0-.6.936-2.205 1.404.33.466.795 1 .795 1 2.744-.06 3.81-1.8 3.87-1.726 0-3.87-1.815-7.02-1.815-7.02-1.635-1.214-3.165-1.26-3.435-1.26l.056-.02zm.168 4.413c.703 0 1.27.6 1.27 1.335 0 .74-.57 1.34-1.27 1.34-.7 0-1.27-.6-1.27-1.334.002-.74.573-1.338 1.27-1.338zm-4.543 0c.7 0 1.266.6 1.266 1.335 0 .74-.57 1.34-1.27 1.34-.7 0-1.27-.6-1.27-1.334 0-.74.57-1.338 1.27-1.338z"></path></svg><span class="visually-hidden" data-v-48c45ef6>discord</span></a><a class="VPSocialLink" href="https://github.com/profectus-engine/Profectus" title="github" target="_blank" rel="noopener noreferrer" data-v-4dcbaf3a data-v-48c45ef6><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="icon" data-v-48c45ef6><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg><span class="visually-hidden" data-v-48c45ef6>github</span></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-8856f192 data-v-0562f5c0 data-v-8dccea88><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-8dccea88><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="icon" data-v-8dccea88><circle cx="12" cy="12" r="2"></circle><circle cx="19" cy="12" r="2"></circle><circle cx="5" cy="12" r="2"></circle></svg></button><div class="menu" data-v-8dccea88><div class="VPMenu" data-v-8dccea88 data-v-e73581a2><!----><!--[--><!--[--><!----><!----><div class="group" data-v-0562f5c0><div class="item social-links" data-v-0562f5c0><div class="VPSocialLinks social-links-list" data-v-0562f5c0 data-v-4dcbaf3a><!--[--><a class="VPSocialLink" href="https://discord.gg/F3xveHV" title="discord" target="_blank" rel="noopener noreferrer" data-v-4dcbaf3a data-v-48c45ef6><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="icon" data-v-48c45ef6><path d="M20.222 0c1.406 0 2.54 1.137 2.607 2.475V24l-2.677-2.273-1.47-1.338-1.604-1.398.67 2.205H3.71c-1.402 0-2.54-1.065-2.54-2.476V2.48C1.17 1.142 2.31.003 3.715.003h16.5L20.222 0zm-6.118 5.683h-.03l-.202.2c2.073.6 3.076 1.537 3.076 1.537-1.336-.668-2.54-1.002-3.744-1.137-.87-.135-1.74-.064-2.475 0h-.2c-.47 0-1.47.2-2.81.735-.467.203-.735.336-.735.336s1.002-1.002 3.21-1.537l-.135-.135s-1.672-.064-3.477 1.27c0 0-1.805 3.144-1.805 7.02 0 0 1 1.74 3.743 1.806 0 0 .4-.533.805-1.002-1.54-.468-2.14-1.404-2.14-1.404s.134.066.335.2h.06c.03 0 .044.015.06.03v.006c.016.016.03.03.06.03.33.136.66.27.93.4.466.202 1.065.403 1.8.536.93.135 1.996.2 3.21 0 .6-.135 1.2-.267 1.8-.535.39-.2.87-.4 1.397-.737 0 0-.6.936-2.205 1.404.33.466.795 1 .795 1 2.744-.06 3.81-1.8 3.87-1.726 0-3.87-1.815-7.02-1.815-7.02-1.635-1.214-3.165-1.26-3.435-1.26l.056-.02zm.168 4.413c.703 0 1.27.6 1.27 1.335 0 .74-.57 1.34-1.27 1.34-.7 0-1.27-.6-1.27-1.334.002-.74.573-1.338 1.27-1.338zm-4.543 0c.7 0 1.266.6 1.266 1.335 0 .74-.57 1.34-1.27 1.34-.7 0-1.27-.6-1.27-1.334 0-.74.57-1.338 1.27-1.338z"></path></svg><span class="visually-hidden" data-v-48c45ef6>discord</span></a><a class="VPSocialLink" href="https://github.com/profectus-engine/Profectus" title="github" target="_blank" rel="noopener noreferrer" data-v-4dcbaf3a data-v-48c45ef6><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="icon" data-v-48c45ef6><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg><span class="visually-hidden" data-v-48c45ef6>github</span></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-8856f192 data-v-6f008456><span class="container" data-v-6f008456><span class="top" data-v-6f008456></span><span class="middle" data-v-6f008456></span><span class="bottom" data-v-6f008456></span></span></button></div></div></div><!----></header><div class="VPLocalNav" data-v-6b5fd0a9 data-v-92b0f14a><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-92b0f14a><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="menu-icon" data-v-92b0f14a><path d="M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"></path><path d="M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"></path><path d="M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"></path><path d="M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"></path></svg><span class="menu-text" data-v-92b0f14a>Menu</span></button><a class="top-link" href="#" data-v-92b0f14a> Return to top </a></div><aside class="VPSidebar" data-v-6b5fd0a9 data-v-55e4c7db><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-55e4c7db><span class="visually-hidden" id="sidebar-aria-label" data-v-55e4c7db> Sidebar Navigation </span><!--[--><div class="group" data-v-55e4c7db><section class="VPSidebarGroup collapsible collapsed" data-v-55e4c7db data-v-1f69a7ed><div class="title" role="button" data-v-1f69a7ed><h2 class="title-text" data-v-1f69a7ed>Components</h2><div class="action" data-v-1f69a7ed><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-1f69a7ed><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-1f69a7ed><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-1f69a7ed><!--[--><a class="VPLink link" href="/api/components/layout/CollapsibleComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Collapsible Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/layout/ColumnComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Column Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/ContextComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Context Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/fields/DangerButtonComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Danger Button Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/fields/FeedbackButtonComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Feedback Button Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/math/FloorComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Floor Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/InfoComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Info Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/LayerComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Layer Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/MarkNodeComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Mark Node Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/ModalComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Modal Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/NodeComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Node Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/layout/RowComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Row Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/SaveComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Save Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/fields/SelectComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Select Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/fields/SliderComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Slider Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/layout/SpacerComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Spacer Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/math/SqrtComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Sqrt Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/layout/StickyComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Sticky Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/fields/TextComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Text Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/fields/ToggleComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Toggle Component</span><!--]--><!----></a><a class="VPLink link" href="/api/components/layout/VerticalRuleComponent.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e> Vertical Rule Component</span><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-55e4c7db><section class="VPSidebarGroup collapsible" data-v-55e4c7db data-v-1f69a7ed><div class="title" role="button" data-v-1f69a7ed><h2 class="title-text" data-v-1f69a7ed>Data</h2><div class="action" data-v-1f69a7ed><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-1f69a7ed><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-1f69a7ed><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-1f69a7ed><!--[--><a class="VPLink link" href="/api/modules/data/common.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Common</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/data/projEntry.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Proj Entry</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/data/themes.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Themes</span><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-55e4c7db><section class="VPSidebarGroup collapsible" data-v-55e4c7db data-v-1f69a7ed><div class="title" role="button" data-v-1f69a7ed><h2 class="title-text" data-v-1f69a7ed>Features</h2><div class="action" data-v-1f69a7ed><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-1f69a7ed><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-1f69a7ed><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-1f69a7ed><!--[--><a class="VPLink link" href="/api/modules/features/achievements/achievement.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Achievement</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/bars/bar.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Bar</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/boards/board.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Board</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/buyable.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Buyable</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/challenges/challenge.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Challenge</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/clickables/clickable.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Clickable</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/conversion.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Conversion</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/feature.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Feature</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/grids/grid.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Grid</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/hotkey.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Hotkey</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/infoboxes/infobox.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Infobox</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/links/links.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Links</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/milestones/milestone.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Milestone</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/particles/particles.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Particles</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/reset.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Reset</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/resources/resource.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Resource</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/tabs/tab.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Tab</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/tabs/tabFamily.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Tab Family</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/tooltips/tooltip.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Tooltip</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/trees/tree.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Tree</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/features/upgrades/upgrade.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Upgrade</span><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-55e4c7db><section class="VPSidebarGroup collapsible" data-v-55e4c7db data-v-1f69a7ed><div class="title" role="button" data-v-1f69a7ed><h2 class="title-text" data-v-1f69a7ed>Game</h2><div class="action" data-v-1f69a7ed><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-1f69a7ed><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-1f69a7ed><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-1f69a7ed><!--[--><a class="VPLink link" href="/api/modules/game/events.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Events</span><!--]--><!----></a><a class="VPLink link active" href="/api/modules/game/layers.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Layers</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/game/modifiers.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Modifiers</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/game/notifications.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Notifications</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/game/persistence.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Persistence</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/game/player.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Player</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/game/settings.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Settings</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/game/state.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>State</span><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-55e4c7db><section class="VPSidebarGroup collapsible collapsed" data-v-55e4c7db data-v-1f69a7ed><div class="title" role="button" data-v-1f69a7ed><h2 class="title-text" data-v-1f69a7ed>Lib</h2><div class="action" data-v-1f69a7ed><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-1f69a7ed><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-1f69a7ed><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-1f69a7ed><!--[--><a class="VPLink link" href="/api/modules/lib/break_eternity.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Break Eternity</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/lib/pwa-register.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Pwa-register</span><!--]--><!----></a><!--]--></div></section></div><div class="group" data-v-55e4c7db><section class="VPSidebarGroup collapsible" data-v-55e4c7db data-v-1f69a7ed><div class="title" role="button" data-v-1f69a7ed><h2 class="title-text" data-v-1f69a7ed>Util</h2><div class="action" data-v-1f69a7ed><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" class="icon minus" data-v-1f69a7ed><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg><svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon plus" data-v-1f69a7ed><path d="M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"></path><path d="M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"></path></svg></div></div><div class="items" data-v-1f69a7ed><!--[--><a class="VPLink link" href="/api/modules/util/bignum.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Bignum</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/util/break_eternity.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Break Eternity</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/util/common.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Common</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/util/computed.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Computed</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/util/proxies.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Proxies</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/util/save.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Save</span><!--]--><!----></a><a class="VPLink link" href="/api/modules/util/vue.html" data-v-1f69a7ed data-v-f53f775e data-v-5704c677><!--[--><span class="link-text" data-v-f53f775e>Vue</span><!--]--><!----></a><!--]--></div></section></div><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-6b5fd0a9 data-v-a4c57a06><div class="VPDoc has-sidebar" data-v-a4c57a06 data-v-79ca2460><div class="container" data-v-79ca2460><div class="aside" data-v-79ca2460><div class="aside-curtain" data-v-79ca2460></div><div class="aside-container" data-v-79ca2460><div class="aside-content" data-v-79ca2460><div class="VPDocAside" data-v-79ca2460 data-v-779d834d><!--[--><!--]--><!--[--><!--]--><div class="VPDocAsideOutline has-outline" data-v-779d834d data-v-51e5a8ce><div class="content" data-v-51e5a8ce><div class="outline-marker" data-v-51e5a8ce></div><div class="outline-title" data-v-51e5a8ce>On this page</div><nav aria-labelledby="doc-outline-aria-label" data-v-51e5a8ce><span class="visually-hidden" id="doc-outline-aria-label" data-v-51e5a8ce> Table of Contents for current page </span><ul class="root" data-v-51e5a8ce><!--[--><li style="" data-v-51e5a8ce><a class="outline-link" href="#interfaces" data-v-51e5a8ce>Interfaces</a><!----></li><li style="" data-v-51e5a8ce><a class="outline-link" href="#type-aliases" data-v-51e5a8ce>Type Aliases</a><!----></li><li style="" data-v-51e5a8ce><a class="outline-link" href="#variables" data-v-51e5a8ce>Variables</a><!----></li><li style="" data-v-51e5a8ce><a class="outline-link" href="#functions" data-v-51e5a8ce>Functions</a><!----></li><!--]--></ul></nav></div></div><!--[--><!--]--><div class="spacer" data-v-779d834d></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-79ca2460><div class="content-container" data-v-79ca2460><!--[--><!--]--><main class="main" data-v-79ca2460><div style="position:relative;" class="vp-doc _api_modules_game_layers" data-v-79ca2460><div><h1 id="module-game-layers" tabindex="-1">Module: game/layers <a class="header-anchor" href="#module-game-layers" aria-hidden="true">#</a></h1><h2 id="interfaces" tabindex="-1">Interfaces <a class="header-anchor" href="#interfaces" aria-hidden="true">#</a></h2><ul><li><a href="../../interfaces/game/layers.BaseLayer">BaseLayer</a></li><li><a href="../../interfaces/game/layers.FeatureNode">FeatureNode</a></li><li><a href="../../interfaces/game/layers.LayerEvents">LayerEvents</a></li><li><a href="../../interfaces/game/layers.LayerOptions">LayerOptions</a></li><li><a href="../../interfaces/game/layers.Position">Position</a></li></ul><h2 id="type-aliases" tabindex="-1">Type Aliases <a class="header-anchor" href="#type-aliases" aria-hidden="true">#</a></h2><h3 id="genericlayer" tabindex="-1">GenericLayer <a class="header-anchor" href="#genericlayer" aria-hidden="true">#</a></h3><p>Ƭ <strong>GenericLayer</strong>: <a href="./../features/feature.html#replace"><code>Replace</code></a><<a href="./layers.html#layer"><code>Layer</code></a><<a href="../../interfaces/game/layers.LayerOptions"><code>LayerOptions</code></a>>, { <code>minWidth</code>: <a href="./../util/computed.html#processedcomputable"><code>ProcessedComputable</code></a><<code>number</code>> ; <code>minimizable</code>: <a href="./../util/computed.html#processedcomputable"><code>ProcessedComputable</code></a><<code>boolean</code>> ; <code>name</code>: <a href="./../util/computed.html#processedcomputable"><code>ProcessedComputable</code></a><<code>string</code>> }></p><p>A type that matches any valid <a href="./layers.html#layer">Layer</a> object.</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/game/layers.tsx#L169" target="_blank" rel="noopener noreferrer">profectus/src/game/layers.tsx:169</a></p><hr><h3 id="layer" tabindex="-1">Layer <a class="header-anchor" href="#layer" aria-hidden="true">#</a></h3><p>Ƭ <strong>Layer</strong><<code>T</code>>: <a href="./../features/feature.html#replace"><code>Replace</code></a><<code>T</code> & <a href="../../interfaces/game/layers.BaseLayer"><code>BaseLayer</code></a>, { <code>classes</code>: <a href="./../util/computed.html#getcomputabletype"><code>GetComputableType</code></a><<code>T</code>[<code>"classes"</code>]> ; <code>color</code>: <a href="./../util/computed.html#getcomputabletype"><code>GetComputableType</code></a><<code>T</code>[<code>"color"</code>]> ; <code>display</code>: <a href="./../util/computed.html#getcomputabletype"><code>GetComputableType</code></a><<code>T</code>[<code>"display"</code>]> ; <code>forceHideGoBack</code>: <a href="./../util/computed.html#getcomputabletype"><code>GetComputableType</code></a><<code>T</code>[<code>"forceHideGoBack"</code>]> ; <code>minWidth</code>: <a href="./../util/computed.html#getcomputabletypewithdefault"><code>GetComputableTypeWithDefault</code></a><<code>T</code>[<code>"minWidth"</code>], <code>600</code>> ; <code>minimizable</code>: <a href="./../util/computed.html#getcomputabletypewithdefault"><code>GetComputableTypeWithDefault</code></a><<code>T</code>[<code>"minimizable"</code>], <code>true</code>> ; <code>name</code>: <a href="./../util/computed.html#getcomputabletypewithdefault"><code>GetComputableTypeWithDefault</code></a><<code>T</code>[<code>"name"</code>], <code>string</code>> ; <code>style</code>: <a href="./../util/computed.html#getcomputabletype"><code>GetComputableType</code></a><<code>T</code>[<code>"style"</code>]> }></p><p>An unit of game content. Displayed to the user as a tab or modal.</p><h4 id="type-parameters" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="../../interfaces/game/layers.LayerOptions"><code>LayerOptions</code></a></td></tr></tbody></table><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/game/layers.tsx#L154" target="_blank" rel="noopener noreferrer">profectus/src/game/layers.tsx:154</a></p><h2 id="variables" tabindex="-1">Variables <a class="header-anchor" href="#variables" aria-hidden="true">#</a></h2><h3 id="boundsinjectionkey" tabindex="-1">BoundsInjectionKey <a class="header-anchor" href="#boundsinjectionkey" aria-hidden="true">#</a></h3><p>• <code>Const</code> <strong>BoundsInjectionKey</strong>: <code>InjectionKey</code><<code>Ref</code><<code>DOMRect</code> | <code>undefined</code>>></p><p>An injection key that a ContextComponent will use to provide a ref to a bounding rect of the Context.</p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/game/layers.tsx#L52" target="_blank" rel="noopener noreferrer">profectus/src/game/layers.tsx:52</a></p><hr><h3 id="nodesinjectionkey" tabindex="-1">NodesInjectionKey <a class="header-anchor" href="#nodesinjectionkey" aria-hidden="true">#</a></h3><p>• <code>Const</code> <strong>NodesInjectionKey</strong>: <code>InjectionKey</code><<code>Ref</code><<code>Record</code><<code>string</code>, <a href="../../interfaces/game/layers.FeatureNode"><code>FeatureNode</code></a> | <code>undefined</code>>>></p><p>An injection key that a ContextComponent will use to provide a ref to a map of all currently registered <a href="../../interfaces/game/layers.FeatureNode">FeatureNode</a>s.</p><h4 id="defined-in-3" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-3" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/game/layers.tsx#L47" target="_blank" rel="noopener noreferrer">profectus/src/game/layers.tsx:47</a></p><hr><h3 id="registernodeinjectionkey" tabindex="-1">RegisterNodeInjectionKey <a class="header-anchor" href="#registernodeinjectionkey" aria-hidden="true">#</a></h3><p>• <code>Const</code> <strong>RegisterNodeInjectionKey</strong>: <code>InjectionKey</code><(<code>id</code>: <code>string</code>, <code>element</code>: <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement" target="_blank" rel="noopener noreferrer"><code>HTMLElement</code></a>) => <code>void</code>></p><p>An injection key that a ContextComponent will use to provide a function that registers a <a href="../../interfaces/game/layers.FeatureNode">FeatureNode</a> with the given id and HTML element.</p><h4 id="defined-in-4" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-4" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/game/layers.tsx#L37" target="_blank" rel="noopener noreferrer">profectus/src/game/layers.tsx:37</a></p><hr><h3 id="unregisternodeinjectionkey" tabindex="-1">UnregisterNodeInjectionKey <a class="header-anchor" href="#unregisternodeinjectionkey" aria-hidden="true">#</a></h3><p>• <code>Const</code> <strong>UnregisterNodeInjectionKey</strong>: <code>InjectionKey</code><(<code>id</code>: <code>string</code>) => <code>void</code>></p><p>An injection key that a ContextComponent will use to provide a function that unregisters a <a href="../../interfaces/game/layers.FeatureNode">FeatureNode</a> with the given id.</p><h4 id="defined-in-5" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-5" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/game/layers.tsx#L42" target="_blank" rel="noopener noreferrer">profectus/src/game/layers.tsx:42</a></p><hr><h3 id="addinglayers" tabindex="-1">addingLayers <a class="header-anchor" href="#addinglayers" aria-hidden="true">#</a></h3><p>• <code>Const</code> <strong>addingLayers</strong>: <code>string</code>[] = <code>[]</code></p><p>When creating layers, this array stores the layers currently being created, as a stack.</p><h4 id="defined-in-6" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-6" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/game/layers.tsx#L185" target="_blank" rel="noopener noreferrer">profectus/src/game/layers.tsx:185</a></p><hr><h3 id="layers" tabindex="-1">layers <a class="header-anchor" href="#layers" aria-hidden="true">#</a></h3><p>• <code>Const</code> <strong>layers</strong>: <code>Record</code><<code>string</code>, <code>Readonly</code><<a href="./layers.html#genericlayer"><code>GenericLayer</code></a>> | <code>undefined</code>></p><p>A reference to all the current layers. It is shallow reactive so it will update when layers are added or removed, but not interfere with the existing refs within each layer.</p><h4 id="defined-in-7" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-7" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/game/layers.tsx#L68" target="_blank" rel="noopener noreferrer">profectus/src/game/layers.tsx:68</a></p><hr><h3 id="persistentrefs" tabindex="-1">persistentRefs <a class="header-anchor" href="#persistentrefs" aria-hidden="true">#</a></h3><p>• <code>Const</code> <strong>persistentRefs</strong>: <code>Record</code><<code>string</code>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set" target="_blank" rel="noopener noreferrer"><code>Set</code></a><<a href="./persistence.html#persistent"><code>Persistent</code></a>>> = <code>{}</code></p><p>When creating layers, this object a map of layer ID to a set of any created persistent refs in order to check they're all included in the final layer object.</p><h4 id="defined-in-8" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-8" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/1f4676d/src/game/layers.tsx#L181" target="_blank" rel="noopener noreferrer">profectus/src/game/layers.tsx:181</a></p><h2 id="functions" tabindex="-1">Functions <a class="header-anchor" href="#functions" aria-hidden="true">#</a></h2><h3 id="addlayer" tabindex="-1">addLayer <a class="header-anchor" href="#addlayer" aria-hidden="true">#</a></h3><p>▸ <strong>addLayer</strong>(<code>layer</code>, <code>player</code>): <code>void</code></p><p>Enables a layer object, so it will be updated every tick. Note that accessing a layer/its properties does NOT require it to be enabled. For dynamic layers you can call this function and <a href="./layers.html#removelayer">removeLayer</a> as necessary. Just make sure <a href="./../data/projEntry.html#getinitiallayers">getInitialLayers</a> will provide an accurate list of layers based on the player data object. For static layers just make <a href="./../data/projEntry.html#getinitiallayers">getInitialLayers</a> return all the layers.</p><h4 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>layer</code></td><td style="text-align:left;"><a href="./layers.html#genericlayer"><code>GenericLayer</code></a></td><td style="text-align:left;">The layer to add.</td></tr><tr><td style="text-align:left;"><code>player</code></td><td style="text-align:left;"><code>Object</code></td><td style="text-align:left;">The player data object, which will have a data object for this layer.</td></tr><tr><td style="text-align:left;"><code>player.layers?</code></td><td style="text-align:left;"><code>Record</code><<code>string</code>, <code>Record</code><<code>string</code>, <code>unknown</code>>></td><td style="text-align:left;">-</td></tr></tbody></table><h4 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-hidden="true">#</a></h4><p><code>void</code></p><hr><h3 id="createlayer" tabindex="-1">createLayer <a class="header-anchor" href="#createlayer" aria-hidden="true">#</a></h3><p>▸ <strong>createLayer</strong><<code>T</code>>(<code>id</code>, <code>optionsFunc</code>): <a href="./layers.html#layer"><code>Layer</code></a><<code>T</code>></p><p>Lazily creates a layer with the given options.</p><h4 id="type-parameters-1" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-1" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="../../interfaces/game/layers.LayerOptions"><code>LayerOptions</code></a></td></tr></tbody></table><h4 id="parameters-1" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-1" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>id</code></td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">The ID this layer will have. See <a href="./../../interfaces/game/layers.BaseLayer.html#id">id</a>.</td></tr><tr><td style="text-align:left;"><code>optionsFunc</code></td><td style="text-align:left;"><a href="./../features/feature.html#optionsfunc"><code>OptionsFunc</code></a><<code>T</code>, <a href="../../interfaces/game/layers.BaseLayer"><code>BaseLayer</code></a>, <a href="../../interfaces/game/layers.BaseLayer"><code>BaseLayer</code></a>></td><td style="text-align:left;">Layer options.</td></tr></tbody></table><h4 id="returns-1" tabindex="-1">Returns <a class="header-anchor" href="#returns-1" aria-hidden="true">#</a></h4><p><a href="./layers.html#layer"><code>Layer</code></a><<code>T</code>></p><hr><h3 id="getlayer" tabindex="-1">getLayer <a class="header-anchor" href="#getlayer" aria-hidden="true">#</a></h3><p>▸ <strong>getLayer</strong><<code>T</code>>(<code>layerID</code>): <code>T</code></p><p>Convenience method for getting a layer by its ID with correct typing.</p><h4 id="type-parameters-2" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-2" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="./layers.html#genericlayer"><code>GenericLayer</code></a></td></tr></tbody></table><h4 id="parameters-2" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-2" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>layerID</code></td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">The ID of the layer to get.</td></tr></tbody></table><h4 id="returns-2" tabindex="-1">Returns <a class="header-anchor" href="#returns-2" aria-hidden="true">#</a></h4><p><code>T</code></p><hr><h3 id="reloadlayer" tabindex="-1">reloadLayer <a class="header-anchor" href="#reloadlayer" aria-hidden="true">#</a></h3><p>▸ <strong>reloadLayer</strong>(<code>layer</code>): <code>void</code></p><p>Convenience method for removing and immediately re-adding a layer. This is useful for layers with dynamic content, to ensure persistent refs are correctly configured.</p><h4 id="parameters-3" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-3" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>layer</code></td><td style="text-align:left;"><a href="./layers.html#genericlayer"><code>GenericLayer</code></a></td><td style="text-align:left;">Layer to remove and then re-add</td></tr></tbody></table><h4 id="returns-3" tabindex="-1">Returns <a class="header-anchor" href="#returns-3" aria-hidden="true">#</a></h4><p><code>void</code></p><hr><h3 id="removelayer" tabindex="-1">removeLayer <a class="header-anchor" href="#removelayer" aria-hidden="true">#</a></h3><p>▸ <strong>removeLayer</strong>(<code>layer</code>): <code>void</code></p><p>Disables a layer, so it will no longer be updated every tick. Note that accessing a layer/its properties does NOT require it to be enabled.</p><h4 id="parameters-4" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-4" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>layer</code></td><td style="text-align:left;"><a href="./layers.html#genericlayer"><code>GenericLayer</code></a></td><td style="text-align:left;">The layer to remove.</td></tr></tbody></table><h4 id="returns-4" tabindex="-1">Returns <a class="header-anchor" href="#returns-4" aria-hidden="true">#</a></h4><p><code>void</code></p><hr><h3 id="setuplayermodal" tabindex="-1">setupLayerModal <a class="header-anchor" href="#setuplayermodal" aria-hidden="true">#</a></h3><p>▸ <strong>setupLayerModal</strong>(<code>layer</code>): <code>Object</code></p><p>Utility function for creating a modal that display's a <a href="./../../interfaces/game/layers.LayerOptions.html#display">display</a>. Returns the modal itself, which can be rendered anywhere you need, as well as a function to open the modal.</p><h4 id="parameters-5" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-5" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>layer</code></td><td style="text-align:left;"><a href="./layers.html#genericlayer"><code>GenericLayer</code></a></td><td style="text-align:left;">The layer to display in the modal.</td></tr></tbody></table><h4 id="returns-5" tabindex="-1">Returns <a class="header-anchor" href="#returns-5" aria-hidden="true">#</a></h4><p><code>Object</code></p><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>modal</code></td><td style="text-align:left;"><a href="./../features/feature.html#jsxfunction"><code>JSXFunction</code></a></td></tr><tr><td style="text-align:left;"><code>openModal</code></td><td style="text-align:left;"><code>VoidFunction</code></td></tr></tbody></table></div></div></main><footer class="VPDocFooter" data-v-79ca2460 data-v-04568844><div class="edit-info" data-v-04568844><!----><!----></div><div class="prev-next" data-v-04568844><div class="pager" data-v-04568844><a class="pager-link prev" href="/api/modules/game/events.html" data-v-04568844><span class="desc" data-v-04568844>Previous page</span><span class="title" data-v-04568844>Events</span></a></div><div class="has-prev pager" data-v-04568844><a class="pager-link next" href="/api/modules/game/modifiers.html" data-v-04568844><span class="desc" data-v-04568844>Next page</span><span class="title" data-v-04568844>Modifiers</span></a></div></div></footer><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
|
|
<script>__VP_HASH_MAP__ = JSON.parse("{\"api_classes_lib_break_eternity.default.md\":\"33aecaab\",\"api_components_contextcomponent.md\":\"4fa7c0a3\",\"api_components_infocomponent.md\":\"d6c04ad3\",\"api_components_layercomponent.md\":\"d5c7e9fb\",\"api_components_marknodecomponent.md\":\"f7aee25b\",\"api_components_modalcomponent.md\":\"2268a3e0\",\"api_components_nodecomponent.md\":\"f9ccbe21\",\"api_components_savecomponent.md\":\"05a7aa38\",\"api_components_fields_dangerbuttoncomponent.md\":\"222ea7f6\",\"api_components_fields_feedbackbuttoncomponent.md\":\"5443218e\",\"api_components_fields_selectcomponent.md\":\"bf5783bc\",\"api_components_fields_slidercomponent.md\":\"66a35ab5\",\"api_components_fields_textcomponent.md\":\"64f2b5e6\",\"api_components_fields_togglecomponent.md\":\"ce0ea3cd\",\"api_components_layout_collapsiblecomponent.md\":\"6d34f6a3\",\"api_components_layout_columncomponent.md\":\"a23b65cf\",\"api_components_layout_rowcomponent.md\":\"dfa7d063\",\"api_components_layout_spacercomponent.md\":\"82dfe511\",\"api_components_layout_stickycomponent.md\":\"148c974e\",\"api_components_layout_verticalrulecomponent.md\":\"0a9ba68c\",\"api_components_math_floorcomponent.md\":\"f61c3cba\",\"api_components_math_sqrtcomponent.md\":\"f1739731\",\"api_enums_data_themes.themes.md\":\"e858827c\",\"api_enums_features_boards_board.progressdisplay.md\":\"c61067e5\",\"api_enums_features_boards_board.shape.md\":\"d6916bb4\",\"api_enums_features_feature.visibility.md\":\"ae747b41\",\"api_enums_features_milestones_milestone.milestonedisplay.md\":\"095aa24c\",\"api_enums_util_common.direction.md\":\"5a6f319c\",\"api_interfaces_data_common.layertreenodeoptions.md\":\"3d2e2417\",\"api_interfaces_data_common.resetbuttonoptions.md\":\"e082eff4\",\"api_interfaces_data_themes.theme.md\":\"7d0cf52f\",\"api_interfaces_data_themes.themevars.md\":\"ca366e89\",\"api_interfaces_features_achievements_achievement.achievementoptions.md\":\"4f839c3e\",\"api_interfaces_features_achievements_achievement.baseachievement.md\":\"147584b2\",\"api_interfaces_features_bars_bar.baroptions.md\":\"b036ae8d\",\"api_interfaces_features_bars_bar.basebar.md\":\"aef2d6d5\",\"api_interfaces_features_boards_board.baseboard.md\":\"0180f57b\",\"api_interfaces_features_boards_board.baseboardnodeaction.md\":\"51bb712e\",\"api_interfaces_features_boards_board.basenodetype.md\":\"552d5564\",\"api_interfaces_features_boards_board.boardnode.md\":\"335daa8f\",\"api_interfaces_features_boards_board.boardnodeactionoptions.md\":\"26e26ee4\",\"api_interfaces_features_boards_board.boardnodelink.md\":\"230c6f00\",\"api_interfaces_features_boards_board.boardoptions.md\":\"abb90f4e\",\"api_interfaces_features_boards_board.nodelabel.md\":\"7e38632c\",\"api_interfaces_features_boards_board.nodetypeoptions.md\":\"cfccdb1d\",\"api_interfaces_features_buyable.basebuyable.md\":\"40da1e4f\",\"api_interfaces_features_buyable.buyableoptions.md\":\"34250161\",\"api_interfaces_features_challenges_challenge.basechallenge.md\":\"cf1e5915\",\"api_interfaces_features_challenges_challenge.challengeoptions.md\":\"70e9bb71\",\"api_interfaces_features_clickables_clickable.baseclickable.md\":\"51276e22\",\"api_interfaces_features_clickables_clickable.clickableoptions.md\":\"7b3936e6\",\"api_interfaces_features_conversion.baseconversion.md\":\"9f84deb6\",\"api_interfaces_features_conversion.conversionoptions.md\":\"73ac9253\",\"api_interfaces_features_conversion.scalingfunction.md\":\"811381f2\",\"api_interfaces_features_grids_grid.basegrid.md\":\"8892a5af\",\"api_interfaces_features_grids_grid.gridcell.md\":\"1b93694a\",\"api_interfaces_features_grids_grid.gridoptions.md\":\"9c8dc29d\",\"api_interfaces_features_hotkey.basehotkey.md\":\"64839d53\",\"api_interfaces_features_hotkey.hotkeyoptions.md\":\"9dac97d9\",\"api_interfaces_features_infoboxes_infobox.baseinfobox.md\":\"e248612d\",\"api_interfaces_features_infoboxes_infobox.infoboxoptions.md\":\"94dbd995\",\"api_interfaces_features_links_links.baselinks.md\":\"5f968863\",\"api_interfaces_features_links_links.link.md\":\"d2462a72\",\"api_interfaces_features_links_links.linksoptions.md\":\"d290d4a3\",\"api_interfaces_features_milestones_milestone.basemilestone.md\":\"0df60149\",\"api_interfaces_features_milestones_milestone.milestoneoptions.md\":\"d65a7c12\",\"api_interfaces_features_particles_particles.baseparticles.md\":\"26e1b86c\",\"api_interfaces_features_particles_particles.particlesoptions.md\":\"709fe765\",\"api_interfaces_features_reset.basereset.md\":\"f021a537\",\"api_interfaces_features_reset.resetoptions.md\":\"7c131c25\",\"api_interfaces_features_resources_resource.resource.md\":\"5bfd1489\",\"api_interfaces_features_tabs_tab.basetab.md\":\"c972be8d\",\"api_interfaces_features_tabs_tab.taboptions.md\":\"01d0b257\",\"api_interfaces_features_tabs_tabfamily.basetabbutton.md\":\"0f0dbf00\",\"api_interfaces_features_tabs_tabfamily.basetabfamily.md\":\"aa15696d\",\"api_interfaces_features_tabs_tabfamily.tabbuttonoptions.md\":\"22f27974\",\"api_interfaces_features_tabs_tabfamily.tabfamilyoptions.md\":\"38959b4a\",\"api_interfaces_features_tooltips_tooltip.basetooltip.md\":\"2144be49\",\"api_interfaces_features_tooltips_tooltip.tooltipoptions.md\":\"38e2d7b1\",\"api_interfaces_features_trees_tree.basetree.md\":\"c08d4cbd\",\"api_interfaces_features_trees_tree.basetreenode.md\":\"e344106e\",\"api_interfaces_features_trees_tree.treebranch.md\":\"f6050cee\",\"api_interfaces_features_trees_tree.treenodeoptions.md\":\"2ddd39f4\",\"api_interfaces_features_trees_tree.treeoptions.md\":\"e23887c2\",\"api_interfaces_features_upgrades_upgrade.baseupgrade.md\":\"debee961\",\"api_interfaces_features_upgrades_upgrade.upgradeoptions.md\":\"35532608\",\"api_interfaces_game_events.globalevents.md\":\"8fe0fd62\",\"api_interfaces_game_layers.baselayer.md\":\"ff6ce023\",\"api_interfaces_game_layers.featurenode.md\":\"8a7ca217\",\"api_interfaces_game_layers.layerevents.md\":\"1e9948cb\",\"api_interfaces_game_layers.layeroptions.md\":\"76dce8e4\",\"api_interfaces_game_layers.position.md\":\"c23fe9f4\",\"api_interfaces_game_modifiers.modifier.md\":\"03e755ce\",\"api_interfaces_game_player.playerdata.md\":\"b6b9843a\",\"api_interfaces_game_settings.settings.md\":\"cb5c2468\",\"api_interfaces_game_state.transient.md\":\"35e95c2f\",\"api_interfaces_lib_pwa-register.registerswoptions.md\":\"370b75ba\",\"api_modules_data_common.md\":\"09384301\",\"api_modules_data_projentry.md\":\"5581fbd6\",\"api_modules_data_themes.md\":\"cc2e1672\",\"api_modules_features_achievements_achievementcomponent.md\":\"136fbfba\",\"api_modules_features_achievements_achievement.md\":\"e8731e6f\",\"api_modules_features_bars_barcomponent.md\":\"611bea07\",\"api_modules_features_bars_bar.md\":\"476d9d31\",\"api_modules_features_boards_boardcomponent.md\":\"15727d18\",\"api_modules_features_boards_boardlinkcomponent.md\":\"af505985\",\"api_modules_features_boards_boardnodecomponent.md\":\"1748b471\",\"api_modules_features_boards_board.md\":\"0a05f6d5\",\"api_modules_features_buyable.md\":\"09ac7ce7\",\"api_modules_features_challenges_challengecomponent.md\":\"fcfc53e4\",\"api_modules_features_challenges_challenge.md\":\"e25b6ef2\",\"api_modules_features_clickables_clickablecomponent.md\":\"e551fc0b\",\"api_modules_features_clickables_clickable.md\":\"417a2e32\",\"api_modules_features_conversion.md\":\"df3062a2\",\"api_modules_features_feature.md\":\"a1ff761c\",\"api_modules_features_grids_gridcellcomponent.md\":\"868f543e\",\"api_modules_features_grids_gridcomponent.md\":\"8c916a1c\",\"api_modules_features_grids_grid.md\":\"f5dd17da\",\"api_modules_features_hotkey.md\":\"7c1642d7\",\"api_modules_features_infoboxes_infoboxcomponent.md\":\"bd08d1d3\",\"api_modules_features_infoboxes_infobox.md\":\"5a0f5976\",\"api_modules_features_links_linkcomponent.md\":\"e0c6ef5b\",\"api_modules_features_links_linkscomponent.md\":\"8dc74f0c\",\"api_modules_features_links_links.md\":\"ae622422\",\"api_modules_features_milestones_milestonecomponent.md\":\"c5b638d5\",\"api_modules_features_milestones_milestone.md\":\"9348f202\",\"api_modules_features_particles_particlescomponent.md\":\"a9920cb8\",\"api_modules_features_particles_particles.md\":\"4f5b1964\",\"api_modules_features_reset.md\":\"5148b99e\",\"api_modules_features_resources_maindisplaycomponent.md\":\"5332570e\",\"api_modules_features_resources_resourcecomponent.md\":\"4f3dd2af\",\"api_modules_features_resources_resource.md\":\"8c6e9065\",\"api_modules_features_tabs_tabbuttoncomponent.md\":\"0da12a3c\",\"api_modules_features_tabs_tabcomponent.md\":\"8b6ae64f\",\"api_modules_features_tabs_tabfamilycomponent.md\":\"c8a929d7\",\"api_modules_features_tabs_tab.md\":\"e4a058a4\",\"api_modules_features_tabs_tabfamily.md\":\"de8f270d\",\"api_modules_features_tooltips_tooltipcomponent.md\":\"ac6f2950\",\"api_modules_features_tooltips_tooltip.md\":\"12369213\",\"api_modules_features_trees_treecomponent.md\":\"2fbfea9f\",\"api_modules_features_trees_treenodecomponent.md\":\"4a27c52e\",\"api_modules_features_trees_tree.md\":\"a28a527b\",\"api_modules_features_upgrades_upgradecomponent.md\":\"260bdd79\",\"api_modules_features_upgrades_upgrade.md\":\"db77300c\",\"api_modules_game_events.md\":\"baaf7c90\",\"api_modules_game_layers.md\":\"2cf8abc8\",\"api_modules_game_modifiers.md\":\"cca2ddee\",\"api_modules_game_notifications.md\":\"7fea3723\",\"api_modules_game_persistence.md\":\"5258b275\",\"api_modules_game_player.md\":\"af668326\",\"api_modules_game_settings.md\":\"698c3427\",\"api_modules_game_state.md\":\"859e5caa\",\"api_modules_lib_break_eternity.md\":\"70955f58\",\"api_modules_lib_pwa-register.md\":\"bbf2eae0\",\"api_modules_util_bignum.md\":\"b726e98d\",\"api_modules_util_break_eternity.md\":\"1a64ffcc\",\"api_modules_util_common.md\":\"2f754726\",\"api_modules_util_computed.md\":\"211c3e6c\",\"api_modules_util_proxies.md\":\"11c2889c\",\"api_modules_util_save.md\":\"4aa3b402\",\"api_modules_util_vue.md\":\"50fee245\",\"api_overview.md\":\"3abc7529\",\"guide_changelog.md\":\"49d4dd2c\",\"guide_coercable.md\":\"17ee091d\",\"guide_creating-features.md\":\"23ab8e0a\",\"guide_dynamic-layers.md\":\"94d67235\",\"guide_examples.md\":\"a9522a5d\",\"guide_features.md\":\"8237ba36\",\"guide_index.md\":\"a086b62e\",\"guide_layers.md\":\"3ea4eccc\",\"guide_persistence.md\":\"3f125834\",\"guide_project-entry.md\":\"8a9337cf\",\"guide_project-info.md\":\"da57246e\",\"guide_reactivity.md\":\"7a86305e\",\"guide_setup.md\":\"11f42a7c\",\"guide_themes.md\":\"af50ff71\",\"guide_updating.md\":\"c32948b0\",\"guide_utils.md\":\"bf2e4eb7\",\"index.md\":\"3c21bf19\"}")</script>
|
|
<script type="module" async src="/assets/app.cf939732.js"></script>
|
|
|
|
</body>
|
|
</html> |