Skip to content

Commit 1ad8bc7

Browse files
committed
deploy: e933051
1 parent 934ca07 commit 1ad8bc7

35 files changed

+732
-929
lines changed
497 Bytes
Binary file not shown.

.doctrees/concepts/map.doctree

1.43 KB
Binary file not shown.

.doctrees/environment.pickle

-3 Bytes
Binary file not shown.

_sources/bots/programOverview.rst.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ The game is designed for multiplayer, and always plays over network, even in sin
106106

107107
Any actions that you do in your program are first send to the game server, then processed, and then the results are send back to your client.
108108

109+
.. important::
110+
Some actions will *not* appear until after round-trip to server. Eg. placing a construction.
111+
109112
Example: you call a function to place a construction.
110113
After that you look through all the entities and the construction is not there, as expected.
111114
You will not know the id of the entity either.

_sources/concepts/map.rst.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ There are multiple functions for finding tiles within some distance.
5656

5757
**Area Range**
5858

59+
Given *3D coordinates* and a radius, returns all tiles within the defined sphere, including tiles that may appear opposite of the rest.
60+
5961
.. grid-item::
6062

6163
.. card::
@@ -64,6 +66,8 @@ There are multiple functions for finding tiles within some distance.
6466

6567
**Area Connected**
6668

69+
Given *tile-index* as center, and a radius, returns tiles that are connected to the center within the radius.
70+
6771
.. grid-item::
6872

6973
.. card::
@@ -72,6 +76,8 @@ There are multiple functions for finding tiles within some distance.
7276

7377
**Area Neighborhood**
7478

79+
Returns tiles that are direct neighbors of area connected query. Usually looks like a ring.
80+
7581
.. grid-item::
7682

7783
.. card::
@@ -80,6 +86,8 @@ There are multiple functions for finding tiles within some distance.
8086

8187
**Area Extended**
8288

89+
Returns a union of the connected and the neighboring tiles.
90+
8391
.. tab-set::
8492
:sync-group: language
8593

_static/pygments.css

Lines changed: 164 additions & 146 deletions
Large diffs are not rendered by default.

_static/styles/furo.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_static/styles/furo.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bots/index.html

Lines changed: 21 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<!doctype html>
22
<html class="no-js" lang="en" data-content_root="../">
3-
<head><meta charset="utf-8"/>
4-
<meta name="viewport" content="width=device-width,initial-scale=1"/>
3+
<head><meta charset="utf-8">
4+
<meta name="viewport" content="width=device-width,initial-scale=1">
55
<meta name="color-scheme" content="light dark"><meta name="viewport" content="width=device-width, initial-scale=1" />
6-
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Setup" href="setup.html" /><link rel="prev" title="Scripts" href="../scripts/index.html" />
6+
<link rel="index" title="Index" href="../genindex.html"><link rel="search" title="Search" href="../search.html"><link rel="next" title="Setup" href="setup.html"><link rel="prev" title="Scripts" href="../scripts/index.html">
77

8-
<!-- Generated with Sphinx 8.2.3 and Furo 2025.07.19 -->
8+
<!-- Generated with Sphinx 8.2.3 and Furo 2025.09.25 -->
99
<title>Bots - UW API documentation</title>
1010
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=acfd86a5" />
11-
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=25af2a20" />
11+
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=580074bf" />
1212
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
1313
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" />
1414
<link rel="stylesheet" type="text/css" href="../_static/styles/furo-extensions.css?v=8dab3a3b" />
@@ -24,14 +24,14 @@
2424
}
2525
@media not print {
2626
body[data-theme="dark"] {
27-
--color-code-background: #2b2b2b;
28-
--color-code-foreground: #f8f8f2;
27+
--color-code-background: #202020;
28+
--color-code-foreground: #d0d0d0;
2929

3030
}
3131
@media (prefers-color-scheme: dark) {
3232
body:not([data-theme="light"]) {
33-
--color-code-background: #2b2b2b;
34-
--color-code-foreground: #f8f8f2;
33+
--color-code-background: #202020;
34+
--color-code-foreground: #d0d0d0;
3535

3636
}
3737
}
@@ -146,14 +146,10 @@
146146
</symbol>
147147
</svg>
148148

149-
<input type="checkbox" class="sidebar-toggle" name="__navigation" id="__navigation">
150-
<input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc">
151-
<label class="overlay sidebar-overlay" for="__navigation">
152-
<div class="visually-hidden">Hide navigation sidebar</div>
153-
</label>
154-
<label class="overlay toc-overlay" for="__toc">
155-
<div class="visually-hidden">Hide table of contents sidebar</div>
156-
</label>
149+
<input type="checkbox" class="sidebar-toggle" name="__navigation" id="__navigation" aria-label="Toggle site navigation sidebar">
150+
<input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc" aria-label="Toggle table of contents sidebar">
151+
<label class="overlay sidebar-overlay" for="__navigation"></label>
152+
<label class="overlay toc-overlay" for="__toc"></label>
157153

158154
<a class="skip-to-content muted-link" href="#furo-main-content">Skip to content</a>
159155

@@ -163,26 +159,23 @@
163159
<header class="mobile-header">
164160
<div class="header-left">
165161
<label class="nav-overlay-icon" for="__navigation">
166-
<div class="visually-hidden">Toggle site navigation sidebar</div>
167-
<i class="icon"><svg><use href="#svg-menu"></use></svg></i>
162+
<span class="icon"><svg><use href="#svg-menu"></use></svg></span>
168163
</label>
169164
</div>
170165
<div class="header-center">
171166
<a href="../index.html"><div class="brand">UW API documentation</div></a>
172167
</div>
173168
<div class="header-right">
174169
<div class="theme-toggle-container theme-toggle-header">
175-
<button class="theme-toggle">
176-
<div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
170+
<button class="theme-toggle" aria-label="Toggle Light / Dark / Auto color theme">
177171
<svg class="theme-icon-when-auto-light"><use href="#svg-sun-with-moon"></use></svg>
178172
<svg class="theme-icon-when-auto-dark"><use href="#svg-moon-with-sun"></use></svg>
179173
<svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
180174
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
181175
</button>
182176
</div>
183177
<label class="toc-overlay-icon toc-header-icon no-toc" for="__toc">
184-
<div class="visually-hidden">Toggle table of contents sidebar</div>
185-
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
178+
<span class="icon"><svg><use href="#svg-toc"></use></svg></span>
186179
</label>
187180
</div>
188181
</header>
@@ -200,7 +193,7 @@
200193
</form>
201194
<div id="searchbox"></div><div class="sidebar-scroll"><div class="sidebar-tree">
202195
<ul class="current">
203-
<li class="toctree-l1 has-children"><a class="reference internal" href="../concepts/index.html">General Concepts</a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle navigation of General Concepts</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
196+
<li class="toctree-l1 has-children"><a class="reference internal" href="../concepts/index.html">General Concepts</a><input aria-label="Toggle navigation of General Concepts" class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><span class="icon"><svg><use href="#svg-arrow-right"></use></svg></span></label><ul>
204197
<li class="toctree-l2"><a class="reference internal" href="../concepts/players.html">Players &amp; Forces</a></li>
205198
<li class="toctree-l2"><a class="reference internal" href="../concepts/map.html">Map</a></li>
206199
<li class="toctree-l2"><a class="reference internal" href="../concepts/prototypes.html">Prototypes</a></li>
@@ -211,7 +204,7 @@
211204
<li class="toctree-l2"><a class="reference internal" href="../concepts/callbacks.html">Callbacks</a></li>
212205
</ul>
213206
</li>
214-
<li class="toctree-l1 has-children"><a class="reference internal" href="../maps/index.html">Maps</a><input class="toctree-checkbox" id="toctree-checkbox-2" name="toctree-checkbox-2" role="switch" type="checkbox"/><label for="toctree-checkbox-2"><div class="visually-hidden">Toggle navigation of Maps</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
207+
<li class="toctree-l1 has-children"><a class="reference internal" href="../maps/index.html">Maps</a><input aria-label="Toggle navigation of Maps" class="toctree-checkbox" id="toctree-checkbox-2" name="toctree-checkbox-2" role="switch" type="checkbox"/><label for="toctree-checkbox-2"><span class="icon"><svg><use href="#svg-arrow-right"></use></svg></span></label><ul>
215208
<li class="toctree-l2"><a class="reference internal" href="../maps/scene.html">Scene</a></li>
216209
<li class="toctree-l2"><a class="reference internal" href="../maps/collider.html">Collider</a></li>
217210
<li class="toctree-l2"><a class="reference internal" href="../maps/navigation.html">Navigation</a></li>
@@ -220,7 +213,7 @@
220213
</li>
221214
<li class="toctree-l1"><a class="reference internal" href="../mods/index.html">Mods</a></li>
222215
<li class="toctree-l1"><a class="reference internal" href="../scripts/index.html">Scripts</a></li>
223-
<li class="toctree-l1 current has-children current-page"><a class="current reference internal" href="#">Bots</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-3" name="toctree-checkbox-3" role="switch" type="checkbox"/><label for="toctree-checkbox-3"><div class="visually-hidden">Toggle navigation of Bots</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
216+
<li class="toctree-l1 current has-children current-page"><a class="current reference internal" href="#">Bots</a><input aria-label="Toggle navigation of Bots" checked="" class="toctree-checkbox" id="toctree-checkbox-3" name="toctree-checkbox-3" role="switch" type="checkbox"/><label for="toctree-checkbox-3"><span class="icon"><svg><use href="#svg-arrow-right"></use></svg></span></label><ul>
224217
<li class="toctree-l2"><a class="reference internal" href="setup.html">Setup</a></li>
225218
<li class="toctree-l2"><a class="reference internal" href="setupPython.html">Setup Python</a></li>
226219
<li class="toctree-l2"><a class="reference internal" href="programOverview.html">Program Overview</a></li>
@@ -255,17 +248,15 @@
255248
</a>
256249
</div>
257250
<div class="theme-toggle-container theme-toggle-content">
258-
<button class="theme-toggle">
259-
<div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
251+
<button class="theme-toggle" aria-label="Toggle Light / Dark / Auto color theme">
260252
<svg class="theme-icon-when-auto-light"><use href="#svg-sun-with-moon"></use></svg>
261253
<svg class="theme-icon-when-auto-dark"><use href="#svg-moon-with-sun"></use></svg>
262254
<svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
263255
<svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
264256
</button>
265257
</div>
266258
<label class="toc-overlay-icon toc-content-icon no-toc" for="__toc">
267-
<div class="visually-hidden">Toggle table of contents sidebar</div>
268-
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
259+
<span class="icon"><svg><use href="#svg-toc"></use></svg></span>
269260
</label>
270261
</div>
271262
<article role="main" id="furo-main-content">

0 commit comments

Comments
 (0)