diff --git a/Doxyfile b/Doxyfile index 31235d6..9fc1ab9 100644 --- a/Doxyfile +++ b/Doxyfile @@ -54,21 +54,21 @@ PROJECT_NUMBER = v0.1.0 # for a project that appears at the top of each page and should give viewer a # quick idea about the purpose of the project. Keep the description short. -PROJECT_BRIEF = "Snake AI Game in Unity" +PROJECT_BRIEF = "Snake Game - AI Edition" # With the PROJECT_LOGO tag one can specify a logo or an icon that is included # in the documentation. The maximum height of the logo should not exceed 55 # pixels and the maximum width should not exceed 200 pixels. Doxygen will copy # the logo to the output directory. -PROJECT_LOGO = C:/Users/felix/SnakeGame/docs/images/logo.png +PROJECT_LOGO = ./logo.svg # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path # into which the generated documentation will be written. If a relative path is # entered, it will be relative to the location where doxygen was started. If # left blank the current directory will be used. -OUTPUT_DIRECTORY = ../ +OUTPUT_DIRECTORY = docs # If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096 # sub-directories (in 2 levels) under the output directory of each output format @@ -1097,8 +1097,7 @@ EXAMPLE_RECURSIVE = NO # \image command). IMAGE_PATH = images \ - docs/images - + docs/img # The INPUT_FILTER tag can be used to specify a program that doxygen should # invoke to filter for each input file. Doxygen will invoke the filter program # by executing (via popen()) the command: @@ -1397,10 +1396,10 @@ HTML_STYLESHEET = # documentation. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_EXTRA_STYLESHEET = doxygen-custom/doxygen-awesome.css \ +HTML_EXTRA_STYLESHEET = doxygen-awesome.css \ doxygen-custom/custom.css \ - doxygen-custom/doxygen-awesome-sidebar-only.css \ - doxygen-custom/doxygen-awesome-sidebar-only-darkmode-toggle.css \ + doxygen-awesome-sidebar-only.css \ + doxygen-awesome-sidebar-only-darkmode-toggle.css \ doxygen-custom/custom-alternative.css # The HTML_EXTRA_FILES tag can be used to specify one or more extra images or @@ -1411,12 +1410,12 @@ HTML_EXTRA_STYLESHEET = doxygen-custom/doxygen-awesome.css \ # files will be copied as-is; there are no commands or markers available. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_EXTRA_FILES = doxygen-custom/doxygen-awesome-darkmode-toggle.js \ - doxygen-custom/doxygen-awesome-fragment-copy-button.js \ - doxygen-custom/doxygen-awesome-paragraph-link.js \ +HTML_EXTRA_FILES = doxygen-awesome-darkmode-toggle.js \ + doxygen-awesome-fragment-copy-button.js \ + doxygen-awesome-paragraph-link.js \ doxygen-custom/toggle-alternative-theme.js \ - doxygen-custom/doxygen-awesome-interactive-toc.js \ - doxygen-custom/doxygen-awesome-tabs.js + doxygen-awesome-interactive-toc.js \ + doxygen-awesome-tabs.js # The HTML_COLORSTYLE tag can be used to specify if the generated HTML output # should be rendered with a dark or light theme. diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 2d62250..9db1722 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -136,8 +136,7 @@ PlayerSettings: vulkanEnableCommandBufferRecycling: 1 loadStoreDebugModeEnabled: 0 bundleVersion: 0.1.0-alpha.1 - preloadedAssets: - - {fileID: 11400000, guid: fe255ffce795bc04384b74d57c2c56e4, type: 2} + preloadedAssets: [] metroInputSource: 0 wsaTransparentSwapchain: 0 m_HolographicPauseOnTrackingLoss: 1 @@ -146,7 +145,7 @@ PlayerSettings: vrSettings: enable360StereoCapture: 0 isWsaHolographicRemotingEnabled: 0 - enableFrameTimingStats: 1 + enableFrameTimingStats: 0 enableOpenGLProfilerGPURecorders: 1 useHDRDisplay: 0 hdrBitDepth: 0 diff --git a/README.md b/README.md index 8db4494..1b3438d 100644 --- a/README.md +++ b/README.md @@ -9,15 +9,20 @@ [//]: # ([![LinkedIn][linkedin-shield]][linkedin-url]) - -![Logo](images/logo.png)
+
+

SnakeGame - AI Edition

@@ -68,8 +73,10 @@ ## About The Project -[![Example training with tensorboard and mlagents][product-screenshot]](https://github.com/Pristar4//images/product-screenshot.png) -![product-screenshot.png](images%2Fproduct-screenshot.png) +

+ +![Example training with tensorboard and mlagents](img/screenshot.png) +
This project is about making a sophisticated AI that can play the classic Snake Game efficiently. The goal was not only to cultivate the AI's ability to survive in the game, but also to potentially @@ -134,7 +141,8 @@ Perform the following steps to set up and run the project: ``` tensorboard --logdir results ``` -7. Enter the Play mode in the Unity editor in the AI scene under ``SnakeGame\Assets\SnakeGame\_Levels\AI``. +7. Enter the Play mode in the Unity editor in the AI scene + under ``SnakeGame\Assets\SnakeGame\_Levels\AI``.

(back to top)

diff --git a/docs/customization.md b/docs/customization.md new file mode 100644 index 0000000..15e5014 --- /dev/null +++ b/docs/customization.md @@ -0,0 +1,115 @@ +# Customization + +[TOC] + + +## CSS-Variables + +This theme is highly customizable because a lot of things are parameterized with CSS variables. + +Just to give you an idea on how flexible the styling is, click this button: + +
Alter theme
+ +### Setup + +It is recommended to add your own `custom.css` and overwrite the variables there: +``` +HTML_EXTRA_STYLESHEET = doxygen-awesome.css custom.css +``` + +Make sure to override the variables in the correct spot. All variables should be customized where they have been defined, in the `html` tag selector: + +```css +html { + /* override light-mode variables here */ +} +``` + +For dark-mode overrides you have to choose where to put them, depending on whether the dark-mode toggle extension is installed or not: + +
+ +- dark-mode toggle is installed + ```css + html.dark-mode { + /* define dark-mode variable overrides here if you DO use doxygen-awesome-darkmode-toggle.js */ + } + ``` +- dark-mode toggle is **NOT** installed + The dark-mode is enabled automatically depending on the system preference: + ```css + @media (prefers-color-scheme: dark) { + html:not(.light-mode) { + /* define dark-mode variable overrides here if you DON'T use doxygen-awesome-darkmode-toggle.js */ + } + } + ``` + +
+ +### Available variables + +The following list gives an overview of the variables defined in [`doxygen-awesome.css`](https://github.com/jothepro/doxygen-awesome-css/blob/main/doxygen-awesome.css). + +The list is not complete. To explore all available variables, have a look at the CSS starting from [here](https://github.com/jothepro/doxygen-awesome-css/blob/main/doxygen-awesome.css#L30). +All variables are defined at the beginning of the stylesheet. + +| Parameter | Default (Light) | Default (Dark) | +| :---------------------------------- | :---------------------------------------------------------- | :---------------------------------------------------------- | +| **Color Scheme**:
primary theme colors. This will affect the entire websites color scheme: links, arrows, labels, ... ||| +| `--primary-color` | #1779c4 | #1982d2 | +| `--primary-dark-color` | #335c80 | #5ca8e2 | +| `--primary-light-color` | #70b1e9 | #4779ac | +| **Page Colors**:
background and foreground (text-color) of the documentation. ||| +| `--page-background-color` | #ffffff | #1C1D1F | +| `--page-foreground-color` | #2f4153 | #d2dbde | +| `--page-secondary-foreground-color` | #6f7e8e | #859399 | +| **Spacing:**
default spacings. Most ui components reference these values for spacing, to provide uniform spacing on the page. ||| +| `--spacing-small` | `5px` | | +| `--spacing-medium` | `10px` | | +| `--spacing-large` | `16px` | | +| **Border Radius**:
border radius for all rounded ui components. Will affect many components, like dropdowns, memitems, codeblocks, ... ||| +| `--border-radius-small` | `4px` | | +| `--border-radius-medium` | `6px` | | +| `--border-radius-large` | `8px` | | +| **Content Width**:
The content is centered and constrained in its width. To make the content fill the whole page, set the following variable to `auto`. ||| +| `--content-maxwidth` | `1000px` | | +| **Code Fragment Colors**:
Color-Scheme of multiline codeblocks ||| +| `--fragment-background` | #F8F9FA | #282c34 | +| `--fragment-foreground` | #37474F | #dbe4eb | +| **Arrow Opacity**:
By default the arrows in the sidebar are only visible on hover. You can override this behavior so they are visible all the time. ||| +| `--side-nav-arrow-opacity` | `0` | | +| `--side-nav-arrow-hover-opacity` | `0.9` | | +| ...and many more ||| + + +If you miss a configuration option or find a bug, please consider [opening an issue](https://github.com/jothepro/doxygen-awesome-css/issues)! + +## Doxygen generator + +The theme overrides most colors with the `--primary-color-*` variables. + +But there is a few small images and graphics that the theme cannot adjust or replace. To make these blend in better with +the rest, it is recommended to adjust the [doxygen color settings](https://www.doxygen.nl/manual/customize.html#minor_tweaks_colors) +to something that matches the chosen color-scheme. + +For the default color-scheme, these values work out quite well: + +``` +# Doxyfile +HTML_COLORSTYLE_HUE = 209 +HTML_COLORSTYLE_SAT = 255 +HTML_COLORSTYLE_GAMMA = 113 +``` + +## Share your customizations + +If you customized the theme with custom colors, spacings, font-sizes, etc. and you want to share your creation with others, you can to this [here](https://github.com/jothepro/doxygen-awesome-css/discussions/13). + +I am always curious to learn about how you made the theme look even better! + + + +Read Next: [Tips & Tricks](tricks.md) + \ No newline at end of file diff --git a/docs/extensions.md b/docs/extensions.md new file mode 100644 index 0000000..415a15b --- /dev/null +++ b/docs/extensions.md @@ -0,0 +1,236 @@ +# Extensions + +[TOC] + +On top of the base theme provided by `doxygen-awesome.css`, this repository comes with Javascript extensions that require additional setup steps to get them running. + +The extensions require customizations in the header HTML-template. +This is how you can create the default template with Doxygen: + +1. Create default header template: + ```sh + doxygen -w html header.html delete_me.html delete_me.css + ``` + +2. Reference the template in your `Doxyfile`: + ``` + HTML_HEADER = header.html + ``` + +[More details on header customization](https://www.doxygen.nl/manual/customize.html#minor_tweaks_header_css) + +## Dark Mode Toggle {#extension-dark-mode-toggle} + +Adds a button next to the search bar to enable and disable the dark theme variant manually: + +
+ +
+ +### Installation + +1. Add the required resources in your `Doxyfile`: + - **HTML_EXTRA_FILES:** `doxygen-awesome-darkmode-toggle.js` + - **HTML_EXTRA_STYLESHEET:** `doxygen-awesome-sidebar-only-darkmode-toggle.css` + (ONLY required for the sidebar-only theme variant!) +2. In the `header.html` template, include `doxygen-awesome-darkmode-toggle.js` at the end of the `` and then initialize it: + ```html + + + + + + + + ``` + +### Customizing + +Changing the tooltip of the button: +```js +DoxygenAwesomeDarkModeToggle.title = "Zwischen hellem/dunklem Modus wechseln" +``` + +Changing Icons. Both Emoji or SVG icons are supported: +```js +DoxygenAwesomeDarkModeToggle.lightModeIcon = '🌞' +// icon from https://fonts.google.com/icons +DoxygenAwesomeDarkModeToggle.darkModeIcon = `` +``` + +All customizations must be applied before calling `DoxygenAwesomeDarkModeToggle.init()`! + + +## Fragment Copy Button {#extension-copy-button} + +Shows a copy button when the user hovers over a code fragment: + +
+ +
+ +### Installation + +1. Add the required resources in your `Doxyfile`: + - **HTML_EXTRA_FILES:** `doxygen-awesome-fragment-copy-button.js` +2. In the `header.html` template, include `doxygen-awesome-fragment-copy-button.js` at the end of the `` and then initialize it: + ```html + + + + + + + + ``` + +### Customizing + +The tooltip of the button can be changed: +```js +DoxygenAwesomeFragmentCopyButton.title = "In die Zwischenablage kopieren" +``` + +The icon can be changed. It must be an SVG: +```js +DoxygenAwesomeFragmentCopyButton.copyIcon = `` +DoxygenAwesomeFragmentCopyButton.successIcon = `` +``` + +All customizations must be applied before calling `DoxygenAwesomeDarkModeToggle.init()`! + +## Paragraph Linking {#extension-para} + +Provides a button on hover behind every headline to allow easy creation of a permanent link to the headline: + +
+ +
+ +Works for all headlines and for many documentation section titles. + +### Installation + +1. Add the required resources in your `Doxyfile`: + - **HTML_EXTRA_FILES:** `doxygen-awesome-paragraph-link.js` +2. In the `header.html` template, include `doxygen-awesome-paragraph-link.js` at the end of the `` and then initialize it: + ```html + + + + + + + + ``` + +### Customizing + +The button tooltip can be changed: +```js +DoxygenAwesomeParagraphLink.title = "Abschnitt verknüpfen" +``` + +The icon of the button can be changed. Both plain characters or SVG icons are supported: +```js +DoxygenAwesomeParagraphLink.icon = "¶" +``` + +All customizations must be applied before calling `DoxygenAwesomeParagraphLink.init()`! + +## Interactive TOC {#extension-toc} + +On large screens the Table of Contents (TOC) is anchored on the top right of the page. This extension visualizes the reading progress by dynamically highlighting the currently active section. + +On small screens the extension hides the TOC by default. The user can open it manually when needed: + + +
+ +
+ +### Installation + +1. Add the required resources in your `Doxyfile`: + - **HTML_EXTRA_FILES:** `doxygen-awesome-interactive-toc.js` +2. In the `header.html` template, include `doxygen-awesome-interactive-toc.js` at the end of the `` and then initialize it: + ```html + + + + + + + + ``` + +### Customizing + +The offset for when a headline is considered active can be changed. A smaller value means that the headline of the section must be closer to the top of the viewport before it is highlighted in the TOC: +```js +DoxygenAwesomeInteractiveToc.topOffset = 45 +``` + +Hiding the TOC on small screens can be disabled. It is still interactive and can be hidden by the user but will now be open by default: +```js +DoxygenAwesomeInteractiveToc.hideMobileMenu = false +``` + +## Tabs {#extension-tabs} + +@note Experimental feature! Please report bugs [here](https://github.com/jothepro/doxygen-awesome-css/issues). + + +This extension allows to arrange list content in tabs: + +
+ +- Tab 1 This is the content of tab 1 +- Tab 2 This is the content of tab 2 + +
+ + +### Installation + +1. Add the required resources in your `Doxyfile`: + - **HTML_EXTRA_FILES:** `doxygen-awesome-tabs.js` +2. In the `header.html` template, include `doxygen-awesome-tabs.js` at the end of the `` and then initialize it: + ```html + + + + + + + + ``` + +### Usage + +Each list that is supposed to be displayed as tabs has to be wrapped with the `tabbed` CSS class. +Each item in the list must start with an element that has the class `tab-title`. It will then be used as tab title. + +```md +
+ +- Tab 1 This is the content of tab 1 +- Tab 2 This is the content of tab 2 + +
+``` + + + +Read Next: [Customization](customization.md) + diff --git a/docs/html/_board_8cs.html b/docs/html/_board_8cs.html index 2cea846..3f12515 100644 --- a/docs/html/_board_8cs.html +++ b/docs/html/_board_8cs.html @@ -1,48 +1,37 @@ - - - - - - - - - - - - - - - - SnakeGame: Assets/SnakeGame/Scripts/Board.cs File Reference - - - - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/Board.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/BoardArray.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/BoardDisplay.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/ColorChanger.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/GameManager.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/InputController.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/InputSchemer.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: README.md File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/Snake.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/SnakeAgent.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/SnakeController.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/SpriteBoardDisplay.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/Tile.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/TileDisplay.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts/TileType.cs File Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Class List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Member List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts.Board Class Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Member List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts.BoardArray Class Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Member List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts.BoardDisplay Class Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Member List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts.ColorChanger Class Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Member List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts.GameManager Class Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Member List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts.InputSchemer Class Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Member List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts.Snake Class Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Member List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts.SnakeAgent Class Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Member List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts.SnakeController Class Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Member List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts.Tile Class Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Member List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts.TileDisplay Class Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Class Index + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
docs/customization.md File Reference
+
+
+
+
+ + + + diff --git a/docs/html/darkmode_toggle.png b/docs/html/darkmode_toggle.png new file mode 100644 index 0000000..5813642 Binary files /dev/null and b/docs/html/darkmode_toggle.png differ diff --git a/docs/html/dir_49e56c817e5e54854c35e136979f97ca.html b/docs/html/dir_49e56c817e5e54854c35e136979f97ca.html new file mode 100644 index 0000000..0d73992 --- /dev/null +++ b/docs/html/dir_49e56c817e5e54854c35e136979f97ca.html @@ -0,0 +1,131 @@ + + + + + + + +SnakeGame: docs Directory Reference + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
docs Directory Reference
+
+
+
+
+ + + + diff --git a/docs/html/dir_84bbf7b3c7f28a5a18725745e1505219.html b/docs/html/dir_84bbf7b3c7f28a5a18725745e1505219.html index ba554f6..35a0d48 100644 --- a/docs/html/dir_84bbf7b3c7f28a5a18725745e1505219.html +++ b/docs/html/dir_84bbf7b3c7f28a5a18725745e1505219.html @@ -1,48 +1,37 @@ - - - - - - - - - - - - - - - - SnakeGame: Assets Directory Reference - - - - - - - - - - - - + + + + +SnakeGame: Assets Directory Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame/Scripts Directory Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Assets/SnakeGame Directory Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
docs/extensions.md File Reference
+
+
+
+
+ + + + diff --git a/docs/html/files.html b/docs/html/files.html index d0e8d04..f7cd502 100644 --- a/docs/html/files.html +++ b/docs/html/files.html @@ -1,48 +1,37 @@ - - - - - - - - - - - - - - - - SnakeGame: File List - - - - - - - - - - - - + + + + +SnakeGame: File List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Class Members + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Class Members - Enumerations + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Class Members - Functions + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Class Members - Properties + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Class Members - Variables + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: File Members + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: File Members + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Graph Legend + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Class Hierarchy + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Class Hierarchy + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Customization
+
+
+ +

+

+CSS-Variables

+

This theme is highly customizable because a lot of things are parameterized with CSS variables.

+

Just to give you an idea on how flexible the styling is, click this button:

+
Alter theme

+Setup

+

It is recommended to add your own custom.css and overwrite the variables there:

HTML_EXTRA_STYLESHEET = doxygen-awesome.css custom.css
+

Make sure to override the variables in the correct spot. All variables should be customized where they have been defined, in the html tag selector:

+
html {
+
/* override light-mode variables here */
+
}
+

For dark-mode overrides you have to choose where to put them, depending on whether the dark-mode toggle extension is installed or not:

+
    +
  • dark-mode toggle is installed
    html.dark-mode {
    +
    /* define dark-mode variable overrides here if you DO use doxygen-awesome-darkmode-toggle.js */
    +
    }
    +
  • +
  • dark-mode toggle is NOT installed The dark-mode is enabled automatically depending on the system preference:
    @media (prefers-color-scheme: dark) {
    +
    html:not(.light-mode) {
    +
    /* define dark-mode variable overrides here if you DON'T use doxygen-awesome-darkmode-toggle.js */
    +
    }
    +
    }
    +
  • +
+

+Available variables

+

The following list gives an overview of the variables defined in doxygen-awesome.css.

+

The list is not complete. To explore all available variables, have a look at the CSS starting from here. All variables are defined at the beginning of the stylesheet.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Parameter Default (Light) Default (Dark)
Color Scheme:
+primary theme colors. This will affect the entire websites color scheme: links, arrows, labels, ...
--primary-color #1779c4 #1982d2
--primary-dark-color #335c80 #5ca8e2
--primary-light-color #70b1e9 #4779ac
Page Colors:
+background and foreground (text-color) of the documentation.
--page-background-color #ffffff #1C1D1F
--page-foreground-color #2f4153 #d2dbde
--page-secondary-foreground-color #6f7e8e #859399
Spacing:
+default spacings. Most ui components reference these values for spacing, to provide uniform spacing on the page.
--spacing-small 5px
--spacing-medium 10px
--spacing-large 16px
Border Radius:
+border radius for all rounded ui components. Will affect many components, like dropdowns, memitems, codeblocks, ...
--border-radius-small 4px
--border-radius-medium 6px
--border-radius-large 8px
Content Width:
+The content is centered and constrained in its width. To make the content fill the whole page, set the following variable to auto.
--content-maxwidth 1000px
Code Fragment Colors:
+Color-Scheme of multiline codeblocks
--fragment-background #F8F9FA #282c34
--fragment-foreground #37474F #dbe4eb
Arrow Opacity:
+By default the arrows in the sidebar are only visible on hover. You can override this behavior so they are visible all the time.
--side-nav-arrow-opacity 0
--side-nav-arrow-hover-opacity 0.9
...and many more
+

If you miss a configuration option or find a bug, please consider opening an issue!

+

+Doxygen generator

+

The theme overrides most colors with the --primary-color-* variables.

+

But there is a few small images and graphics that the theme cannot adjust or replace. To make these blend in better with the rest, it is recommended to adjust the doxygen color settings to something that matches the chosen color-scheme.

+

For the default color-scheme, these values work out quite well:

+
# Doxyfile
+
HTML_COLORSTYLE_HUE = 209
+
HTML_COLORSTYLE_SAT = 255
+
HTML_COLORSTYLE_GAMMA = 113
+

+Share your customizations

+

If you customized the theme with custom colors, spacings, font-sizes, etc. and you want to share your creation with others, you can to this here.

+

I am always curious to learn about how you made the theme look even better!

+

+

Read Next: Tips & Tricks

+
+
+
+ + + + diff --git a/docs/html/md_docs_2extensions.html b/docs/html/md_docs_2extensions.html new file mode 100644 index 0000000..7b16892 --- /dev/null +++ b/docs/html/md_docs_2extensions.html @@ -0,0 +1,310 @@ + + + + + + + +SnakeGame: Extensions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Extensions
+
+
+ +

+

On top of the base theme provided by doxygen-awesome.css, this repository comes with Javascript extensions that require additional setup steps to get them running.

+

The extensions require customizations in the header HTML-template. This is how you can create the default template with Doxygen:

+
    +
  1. Create default header template:
    doxygen -w html header.html delete_me.html delete_me.css
    +
  2. +
  3. Reference the template in your Doxyfile:
    HTML_HEADER = header.html
    +
  4. +
+

More details on header customization

+

+Dark Mode Toggle

+

Adds a button next to the search bar to enable and disable the dark theme variant manually:

+

+Installation

+
    +
  1. Add the required resources in your Doxyfile:
      +
    • HTML_EXTRA_FILES: doxygen-awesome-darkmode-toggle.js
    • +
    • HTML_EXTRA_STYLESHEET: doxygen-awesome-sidebar-only-darkmode-toggle.css (ONLY required for the sidebar-only theme variant!)
    • +
    +
  2. +
  3. In the header.html template, include doxygen-awesome-darkmode-toggle.js at the end of the <head> and then initialize it:
    <html>
    +
    <head>
    +
    <!-- ... other metadata & script includes ... -->
    +
    <script type="text/javascript" src="$relpath^doxygen-awesome-darkmode-toggle.js"></script>
    +
    <script type="text/javascript">
    +
    DoxygenAwesomeDarkModeToggle.init()
    +
    </script>
    +
    </head>
    +
    <body>
    +
  4. +
+

+Customizing

+

Changing the tooltip of the button:

DoxygenAwesomeDarkModeToggle.title = "Zwischen hellem/dunklem Modus wechseln"
+

Changing Icons. Both Emoji or SVG icons are supported:

DoxygenAwesomeDarkModeToggle.lightModeIcon = '🌞'
+
// icon from https://fonts.google.com/icons
+
DoxygenAwesomeDarkModeToggle.darkModeIcon = `<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#009793"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M8.1,14.15C9.77,14.63,11,16.17,11,18c0,0.68-0.19,1.31-0.48,1.87c0.48,0.09,0.97,0.14,1.48,0.14 c1.48,0,2.9-0.41,4.13-1.15c-2.62-0.92-5.23-2.82-6.8-5.86C7.74,9.94,7.78,7.09,8.29,4.9c-2.57,1.33-4.3,4.01-4.3,7.1c0,0,0,0,0,0 c0.01,0,0.01,0,0.02,0C5.66,12,7.18,12.83,8.1,14.15z" opacity=".3"/><path d="M19.78,17.51c-2.47,0-6.57-1.33-8.68-5.43C8.77,7.57,10.6,3.6,11.63,2.01C6.27,2.2,1.98,6.59,1.98,12 c0,0.14,0.02,0.28,0.02,0.42C2.61,12.16,3.28,12,3.98,12c0,0,0,0,0,0c0-3.09,1.73-5.77,4.3-7.1C7.78,7.09,7.74,9.94,9.32,13 c1.57,3.04,4.18,4.95,6.8,5.86c-1.23,0.74-2.65,1.15-4.13,1.15c-0.5,0-1-0.05-1.48-0.14c-0.37,0.7-0.94,1.27-1.64,1.64 c0.98,0.32,2.03,0.5,3.11,0.5c3.5,0,6.58-1.8,8.37-4.52C20.18,17.5,19.98,17.51,19.78,17.51z"/><path d="M7,16l-0.18,0C6.4,14.84,5.3,14,4,14c-1.66,0-3,1.34-3,3s1.34,3,3,3c0.62,0,2.49,0,3,0c1.1,0,2-0.9,2-2 C9,16.9,8.1,16,7,16z"/></g></g></svg>`
+

All customizations must be applied before calling DoxygenAwesomeDarkModeToggle.init()!

+

+Fragment Copy Button

+

Shows a copy button when the user hovers over a code fragment:

+

+Installation

+
    +
  1. Add the required resources in your Doxyfile:
      +
    • HTML_EXTRA_FILES: doxygen-awesome-fragment-copy-button.js
    • +
    +
  2. +
  3. In the header.html template, include doxygen-awesome-fragment-copy-button.js at the end of the <head> and then initialize it:
    <html>
    +
    <head>
    +
    <!-- ... other metadata & script includes ... -->
    +
    <script type="text/javascript" src="$relpath^doxygen-awesome-fragment-copy-button.js"></script>
    +
    <script type="text/javascript">
    +
    DoxygenAwesomeFragmentCopyButton.init()
    +
    </script>
    +
    </head>
    +
    <body>
    +
  4. +
+

+Customizing

+

The tooltip of the button can be changed:

DoxygenAwesomeFragmentCopyButton.title = "In die Zwischenablage kopieren"
+

The icon can be changed. It must be an SVG:

DoxygenAwesomeFragmentCopyButton.copyIcon = `<svg ...>`
+
DoxygenAwesomeFragmentCopyButton.successIcon = `<svg ...>`
+

All customizations must be applied before calling DoxygenAwesomeDarkModeToggle.init()!

+

+Paragraph Linking

+

Provides a button on hover behind every headline to allow easy creation of a permanent link to the headline:

+

Works for all headlines and for many documentation section titles.

+

+Installation

+
    +
  1. Add the required resources in your Doxyfile:
      +
    • HTML_EXTRA_FILES: doxygen-awesome-paragraph-link.js
    • +
    +
  2. +
  3. In the header.html template, include doxygen-awesome-paragraph-link.js at the end of the <head> and then initialize it:
    <html>
    +
    <head>
    +
    <!-- ... other metadata & script includes ... -->
    +
    <script type="text/javascript" src="$relpath^doxygen-awesome-paragraph-link.js"></script>
    +
    <script type="text/javascript">
    +
    DoxygenAwesomeParagraphLink.init()
    +
    </script>
    +
    </head>
    +
    <body>
    +
  4. +
+

+Customizing

+

The button tooltip can be changed:

DoxygenAwesomeParagraphLink.title = "Abschnitt verknüpfen"
+

The icon of the button can be changed. Both plain characters or SVG icons are supported:

DoxygenAwesomeParagraphLink.icon = "¶"
+

All customizations must be applied before calling DoxygenAwesomeParagraphLink.init()!

+

+Interactive TOC

+

On large screens the Table of Contents (TOC) is anchored on the top right of the page. This extension visualizes the reading progress by dynamically highlighting the currently active section.

+

On small screens the extension hides the TOC by default. The user can open it manually when needed:

+

+Installation

+
    +
  1. Add the required resources in your Doxyfile:
      +
    • HTML_EXTRA_FILES: doxygen-awesome-interactive-toc.js
    • +
    +
  2. +
  3. In the header.html template, include doxygen-awesome-interactive-toc.js at the end of the <head> and then initialize it:
    <html>
    +
    <head>
    +
    <!-- ... other metadata & script includes ... -->
    +
    <script type="text/javascript" src="$relpath^doxygen-awesome-interactive-toc.js"></script>
    +
    <script type="text/javascript">
    +
    DoxygenAwesomeInteractiveToc.init()
    +
    </script>
    +
    </head>
    +
    <body>
    +
  4. +
+

+Customizing

+

The offset for when a headline is considered active can be changed. A smaller value means that the headline of the section must be closer to the top of the viewport before it is highlighted in the TOC:

DoxygenAwesomeInteractiveToc.topOffset = 45
+

Hiding the TOC on small screens can be disabled. It is still interactive and can be hidden by the user but will now be open by default:

DoxygenAwesomeInteractiveToc.hideMobileMenu = false
+

+Tabs

+
Note
Experimental feature! Please report bugs here.
+

This extension allows to arrange list content in tabs:

+
    +
  • Tab 1 This is the content of tab 1
  • +
  • Tab 2 This is the content of tab 2
  • +
+

+Installation

+
    +
  1. Add the required resources in your Doxyfile:
      +
    • HTML_EXTRA_FILES: doxygen-awesome-tabs.js
    • +
    +
  2. +
  3. In the header.html template, include doxygen-awesome-tabs.js at the end of the <head> and then initialize it:
    <html>
    +
    <head>
    +
    <!-- ... other metadata & script includes ... -->
    +
    <script type="text/javascript" src="$relpath^doxygen-awesome-tabs.js"></script>
    +
    <script type="text/javascript">
    +
    DoxygenAwesomeTabs.init()
    +
    </script>
    +
    </head>
    +
    <body>
    +
  4. +
+

+Usage

+

Each list that is supposed to be displayed as tabs has to be wrapped with the tabbed CSS class. Each item in the list must start with an element that has the class tab-title. It will then be used as tab title.

+
<div class="tabbed">
+
+
- <span class="tab-title">Tab 1</span> This is the content of tab 1
+
- <span class="tab-title">Tab 2</span> This is the content of tab 2
+
+
</div>
+

+

Read Next: Customization

+
+
+
+ + + + diff --git a/docs/html/md_docs_2tricks.html b/docs/html/md_docs_2tricks.html new file mode 100644 index 0000000..8245b43 --- /dev/null +++ b/docs/html/md_docs_2tricks.html @@ -0,0 +1,215 @@ + + + + + + + +SnakeGame: Tips & Tricks + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Tips & Tricks
+
+
+ +

+

+Diagrams with Graphviz

+

To get the best looking class diagrams for your documentation, generate them with Graphviz as vector graphics with transparent background:

+
# Doxyfile
+
HAVE_DOT = YES
+
DOT_IMAGE_FORMAT = svg
+
DOT_TRANSPARENT = YES
+

In case INTERACTIVE_SVG = YES is set in the Doxyfile, all user-defined dotgraphs must be wrapped with the interactive_dotgraph CSS class in order for them to be rendered correctly:

+
<div class="interactive_dotgraph">
+
+
\dotfile graph.dot
+
+
</div>
+
Note
Both the default overflow scrolling behavior in this theme and the interactive editor enabled by INTERACTIVE_SVG are unsatisfying workarounds IMHO. Consider designing your graphs to be narrow enough to fit the page to avoid scrolling.
+

+Disable Dark Mode

+

If you don't want the theme to automatically switch to dark mode depending on the browser preference, you can disable dark mode by adding the light-mode class to the html-tag in the header template:

+
<html xmlns="http://www.w3.org/1999/xhtml" class="light-mode">
+

The same can be done to always enable dark-mode:

+
<html xmlns="http://www.w3.org/1999/xhtml" class="dark-mode">
+
Warning
This only works if you don't use the dark-mode toggle extension.
+

+Choosing Sidebar Width

+

If you have enabled the sidebar-only theme variant, make sure to carefully choose a proper width for your sidebar. It should be wide enough to hold the icon, project title and version number. If the content is too wide, it will be cut off.

+
html {
+
/* Make sure sidebar is wide enough to contain the page title (logo + title + version) */
+
--side-nav-fixed-width: 335px;
+
}
+

The chosen width should also be set in the Doxyfile:

+
# Doxyfile
+
TREEVIEW_WIDTH = 335
+

+Formatting Tables

+

By default tables in this theme are left-aligned and as wide as required to fit their content. Those properties can be changed for individual tables.

+

+Centering

+

Tables can be centered by wrapping them in the <center> HTML-tag.

+
    +
  • Code
    <center>
    +
    | This table | is centered |
    +
    |------------|----------------------|
    +
    | test 1 | test 2 |
    +
    </center>
    +
  • +
  • Result
    + + + + +
    This table is centered
    test 1 test 2
    +
  • +
+

+Full Width

+

To make tables span the full width of the page, no matter how wide the content is, wrap the table in the full_width_table CSS class.

+
Warning
Apply with caution! This breaks the overflow scrolling of the table. Content might be cut of on small screens!
+
    +
  • Code
    <div class="full_width_table">
    +
    | This table | spans the full width |
    +
    |------------|----------------------|
    +
    | test 1 | test 2 |
    +
    </div>
    +
  • +
  • Result
    + + + + +
    This table spans the full width
    test 1 test 2
    +
  • +
+

+

Read Next: Example

+
+
+
+ + + + diff --git a/docs/html/menudata.js b/docs/html/menudata.js index 03cc103..2d7f39c 100644 --- a/docs/html/menudata.js +++ b/docs/html/menudata.js @@ -24,6 +24,7 @@ */ var menudata={children:[ {text:"Main Page",url:"index.html"}, +{text:"Related Pages",url:"pages.html"}, {text:"Packages",url:"namespaces.html",children:[ {text:"Package List",url:"namespaces.html"}, {text:"Package Members",url:"namespacemembers.html",children:[ diff --git a/docs/html/namespace_snake_game.html b/docs/html/namespace_snake_game.html index af6fc51..ea23613 100644 --- a/docs/html/namespace_snake_game.html +++ b/docs/html/namespace_snake_game.html @@ -1,48 +1,37 @@ - - - - - - - - - - - - - - - - SnakeGame: SnakeGame Namespace Reference - - - - - - - - - - - - + + + + +SnakeGame: SnakeGame Namespace Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts Namespace Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Package Members + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Package Members + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: Package List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Related Pages
+
+
+
Here is a list of all related documentation pages:
+ + + + +
 Extensions
 Customization
 Tips & Tricks
+
+
+
+ + + + diff --git a/docs/html/paragraph_link.png b/docs/html/paragraph_link.png new file mode 100644 index 0000000..e645434 Binary files /dev/null and b/docs/html/paragraph_link.png differ diff --git a/docs/images/product-screenshot.png b/docs/html/screenshot.png similarity index 100% rename from docs/images/product-screenshot.png rename to docs/html/screenshot.png diff --git a/docs/html/search/all_10.js b/docs/html/search/all_10.js index 25f8cde..0cc264d 100644 --- a/docs/html/search/all_10.js +++ b/docs/html/search/all_10.js @@ -1,5 +1,13 @@ var searchData= [ - ['up_0',['Up',['../namespace_snake_game_1_1_scripts.html#a950b53731a12289a3f1f4539c71576baa258f49887ef8d14ac268c92b02503aaa',1,'SnakeGame::Scripts']]], - ['upkey_1',['UpKey',['../class_snake_game_1_1_scripts_1_1_input_schemer.html#a2407dba696e174792fe723a119dae7e2',1,'SnakeGame::Scripts::InputSchemer']]] + ['tile_0',['Tile',['../class_snake_game_1_1_scripts_1_1_tile.html',1,'SnakeGame.Scripts.Tile'],['../class_snake_game_1_1_scripts_1_1_tile.html#a85859a7cd67d78cdb958f409a312cc3a',1,'SnakeGame.Scripts.Tile.Tile()']]], + ['tile_2ecs_1',['Tile.cs',['../_tile_8cs.html',1,'']]], + ['tiledisplay_2',['TileDisplay',['../class_snake_game_1_1_scripts_1_1_tile_display.html',1,'SnakeGame::Scripts']]], + ['tiledisplay_2ecs_3',['TileDisplay.cs',['../_tile_display_8cs.html',1,'']]], + ['tiles_4',['Tiles',['../class_snake_game_1_1_scripts_1_1_board.html#a9cc69656d3b5aa3be35ffe23443c3025',1,'SnakeGame::Scripts::Board']]], + ['tiletype_5',['TileType',['../namespace_snake_game_1_1_scripts.html#a17f90812441fe7911e589bbb135cf509',1,'SnakeGame::Scripts']]], + ['tiletype_2ecs_6',['TileType.cs',['../_tile_type_8cs.html',1,'']]], + ['tips_20_26_20tricks_7',['Tips & Tricks',['../md_docs_2tricks.html',1,'']]], + ['tricks_2emd_8',['tricks.md',['../tricks_8md.html',1,'']]], + ['type_9',['Type',['../class_snake_game_1_1_scripts_1_1_tile.html#a4b6d96f858f4cf89e278023ca059f598',1,'SnakeGame::Scripts::Tile']]] ]; diff --git a/docs/html/search/all_11.js b/docs/html/search/all_11.js index fcda2cb..25f8cde 100644 --- a/docs/html/search/all_11.js +++ b/docs/html/search/all_11.js @@ -1,5 +1,5 @@ var searchData= [ - ['wall_0',['Wall',['../namespace_snake_game_1_1_scripts.html#a17f90812441fe7911e589bbb135cf509a94e8a499539d1a472f3b5dbbb85508c0',1,'SnakeGame::Scripts']]], - ['width_1',['Width',['../class_snake_game_1_1_scripts_1_1_board.html#ac14764e0b564dc85644d825eb4823dd8',1,'SnakeGame::Scripts::Board']]] + ['up_0',['Up',['../namespace_snake_game_1_1_scripts.html#a950b53731a12289a3f1f4539c71576baa258f49887ef8d14ac268c92b02503aaa',1,'SnakeGame::Scripts']]], + ['upkey_1',['UpKey',['../class_snake_game_1_1_scripts_1_1_input_schemer.html#a2407dba696e174792fe723a119dae7e2',1,'SnakeGame::Scripts::InputSchemer']]] ]; diff --git a/docs/html/search/all_12.js b/docs/html/search/all_12.js new file mode 100644 index 0000000..fcda2cb --- /dev/null +++ b/docs/html/search/all_12.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['wall_0',['Wall',['../namespace_snake_game_1_1_scripts.html#a17f90812441fe7911e589bbb135cf509a94e8a499539d1a472f3b5dbbb85508c0',1,'SnakeGame::Scripts']]], + ['width_1',['Width',['../class_snake_game_1_1_scripts_1_1_board.html#ac14764e0b564dc85644d825eb4823dd8',1,'SnakeGame::Scripts::Board']]] +]; diff --git a/docs/html/search/all_2.js b/docs/html/search/all_2.js index 4b1a906..6ab3a89 100644 --- a/docs/html/search/all_2.js +++ b/docs/html/search/all_2.js @@ -12,5 +12,7 @@ var searchData= ['coloroption_9',['colorOption',['../class_snake_game_1_1_scripts_1_1_color_changer.html#a020a857f4313c1c1037a110ff19497a4',1,'SnakeGame::Scripts::ColorChanger']]], ['containsposition_10',['ContainsPosition',['../class_snake_game_1_1_scripts_1_1_snake.html#ab666177e354aac439691665a2d841778',1,'SnakeGame::Scripts::Snake']]], ['createsnake_11',['CreateSnake',['../class_snake_game_1_1_scripts_1_1_snake_controller.html#a6d7d8714b286eb85dbfa2cae187c563d',1,'SnakeGame::Scripts::SnakeController']]], - ['createsnakes_12',['CreateSnakes',['../class_snake_game_1_1_scripts_1_1_snake_controller.html#af7e49b0ba82443fcb0efac4434ae4bd2',1,'SnakeGame::Scripts::SnakeController']]] + ['createsnakes_12',['CreateSnakes',['../class_snake_game_1_1_scripts_1_1_snake_controller.html#af7e49b0ba82443fcb0efac4434ae4bd2',1,'SnakeGame::Scripts::SnakeController']]], + ['customization_13',['Customization',['../md_docs_2customization.html',1,'']]], + ['customization_2emd_14',['customization.md',['../customization_8md.html',1,'']]] ]; diff --git a/docs/html/search/all_4.js b/docs/html/search/all_4.js index 72bd0b6..cb2a228 100644 --- a/docs/html/search/all_4.js +++ b/docs/html/search/all_4.js @@ -1,6 +1,5 @@ var searchData= [ - ['finalizedirection_0',['FinalizeDirection',['../class_snake_game_1_1_scripts_1_1_snake_controller.html#aa2c2ad512b45d30efbadb087e2640930',1,'SnakeGame::Scripts::SnakeController']]], - ['food_1',['Food',['../namespace_snake_game_1_1_scripts.html#a17f90812441fe7911e589bbb135cf509a0a38e7286ebbb560354992b3ce62be67',1,'SnakeGame::Scripts']]], - ['foodpositions_2',['FoodPositions',['../class_snake_game_1_1_scripts_1_1_board.html#a877de6c2fa48a6c4f9760835b2ab9c96',1,'SnakeGame::Scripts::Board']]] + ['extensions_0',['Extensions',['../md_docs_2extensions.html',1,'']]], + ['extensions_2emd_1',['extensions.md',['../extensions_8md.html',1,'']]] ]; diff --git a/docs/html/search/all_5.js b/docs/html/search/all_5.js index d1ef83b..72bd0b6 100644 --- a/docs/html/search/all_5.js +++ b/docs/html/search/all_5.js @@ -1,12 +1,6 @@ var searchData= [ - ['gamemanager_0',['GameManager',['../class_snake_game_1_1_scripts_1_1_game_manager.html',1,'SnakeGame::Scripts']]], - ['gamemanager_2ecs_1',['GameManager.cs',['../_game_manager_8cs.html',1,'']]], - ['getboardasarray_2',['GetBoardAsArray',['../class_snake_game_1_1_scripts_1_1_board.html#a7242096bdb6acd1be79d78f7dc8011af',1,'SnakeGame::Scripts::Board']]], - ['getboardasmatrix_3',['GetBoardAsMatrix',['../class_snake_game_1_1_scripts_1_1_board.html#af11fc38190bd809bf978e7461d2bcd51',1,'SnakeGame::Scripts::Board']]], - ['getsnake_4',['GetSnake',['../class_snake_game_1_1_scripts_1_1_board.html#a0f32f3ba24cb9cfcfb24dc987bd4fd50',1,'SnakeGame::Scripts::Board']]], - ['gettile_5',['GetTile',['../class_snake_game_1_1_scripts_1_1_board.html#a3254f713a7b1676317dcbc2c78a2dd9b',1,'SnakeGame::Scripts::Board']]], - ['green_6',['Green',['../class_snake_game_1_1_scripts_1_1_color_changer.html#aa92da33133a221a449da7108e021c319ad382816a3cbeed082c9e216e7392eed1',1,'SnakeGame::Scripts::ColorChanger']]], - ['greenmaterial_7',['greenMaterial',['../class_snake_game_1_1_scripts_1_1_color_changer.html#abb416663cde6d5311ec406c834f94062',1,'SnakeGame::Scripts::ColorChanger']]], - ['grow_8',['Grow',['../class_snake_game_1_1_scripts_1_1_snake.html#a3a08855b834636888f52880d010ad069',1,'SnakeGame::Scripts::Snake']]] + ['finalizedirection_0',['FinalizeDirection',['../class_snake_game_1_1_scripts_1_1_snake_controller.html#aa2c2ad512b45d30efbadb087e2640930',1,'SnakeGame::Scripts::SnakeController']]], + ['food_1',['Food',['../namespace_snake_game_1_1_scripts.html#a17f90812441fe7911e589bbb135cf509a0a38e7286ebbb560354992b3ce62be67',1,'SnakeGame::Scripts']]], + ['foodpositions_2',['FoodPositions',['../class_snake_game_1_1_scripts_1_1_board.html#a877de6c2fa48a6c4f9760835b2ab9c96',1,'SnakeGame::Scripts::Board']]] ]; diff --git a/docs/html/search/all_6.js b/docs/html/search/all_6.js index af06cfc..d1ef83b 100644 --- a/docs/html/search/all_6.js +++ b/docs/html/search/all_6.js @@ -1,6 +1,12 @@ var searchData= [ - ['head_0',['Head',['../class_snake_game_1_1_scripts_1_1_snake.html#a8be63c61b8c48c26bbbbdb94ca7c03ba',1,'SnakeGame::Scripts::Snake']]], - ['height_1',['Height',['../class_snake_game_1_1_scripts_1_1_board.html#a692e92fd627a96362937962231c608ec',1,'SnakeGame::Scripts::Board']]], - ['heuristic_2',['Heuristic',['../class_snake_game_1_1_scripts_1_1_snake_agent.html#a04ad166aee61042938f71f6bbba0e893',1,'SnakeGame::Scripts::SnakeAgent']]] + ['gamemanager_0',['GameManager',['../class_snake_game_1_1_scripts_1_1_game_manager.html',1,'SnakeGame::Scripts']]], + ['gamemanager_2ecs_1',['GameManager.cs',['../_game_manager_8cs.html',1,'']]], + ['getboardasarray_2',['GetBoardAsArray',['../class_snake_game_1_1_scripts_1_1_board.html#a7242096bdb6acd1be79d78f7dc8011af',1,'SnakeGame::Scripts::Board']]], + ['getboardasmatrix_3',['GetBoardAsMatrix',['../class_snake_game_1_1_scripts_1_1_board.html#af11fc38190bd809bf978e7461d2bcd51',1,'SnakeGame::Scripts::Board']]], + ['getsnake_4',['GetSnake',['../class_snake_game_1_1_scripts_1_1_board.html#a0f32f3ba24cb9cfcfb24dc987bd4fd50',1,'SnakeGame::Scripts::Board']]], + ['gettile_5',['GetTile',['../class_snake_game_1_1_scripts_1_1_board.html#a3254f713a7b1676317dcbc2c78a2dd9b',1,'SnakeGame::Scripts::Board']]], + ['green_6',['Green',['../class_snake_game_1_1_scripts_1_1_color_changer.html#aa92da33133a221a449da7108e021c319ad382816a3cbeed082c9e216e7392eed1',1,'SnakeGame::Scripts::ColorChanger']]], + ['greenmaterial_7',['greenMaterial',['../class_snake_game_1_1_scripts_1_1_color_changer.html#abb416663cde6d5311ec406c834f94062',1,'SnakeGame::Scripts::ColorChanger']]], + ['grow_8',['Grow',['../class_snake_game_1_1_scripts_1_1_snake.html#a3a08855b834636888f52880d010ad069',1,'SnakeGame::Scripts::Snake']]] ]; diff --git a/docs/html/search/all_7.js b/docs/html/search/all_7.js index 910c133..af06cfc 100644 --- a/docs/html/search/all_7.js +++ b/docs/html/search/all_7.js @@ -1,12 +1,6 @@ var searchData= [ - ['id_0',['Id',['../class_snake_game_1_1_scripts_1_1_snake.html#a8a72a7705ddcdf33a11473a2ad226db9',1,'SnakeGame::Scripts::Snake']]], - ['initializesnakebody_1',['InitializeSnakeBody',['../class_snake_game_1_1_scripts_1_1_snake_controller.html#a838c807f0156a6b90b9889332f148cb0',1,'SnakeGame::Scripts::SnakeController']]], - ['inputcontroller_2ecs_2',['InputController.cs',['../_input_controller_8cs.html',1,'']]], - ['inputschemer_3',['inputSchemer',['../struct_snake_game_1_1_scripts_1_1_player.html#a3179bdf5ec9e835cc9705501c9b21fc3',1,'SnakeGame::Scripts::Player']]], - ['inputschemer_4',['InputSchemer',['../class_snake_game_1_1_scripts_1_1_input_schemer.html',1,'SnakeGame::Scripts']]], - ['inputschemer_2ecs_5',['InputSchemer.cs',['../_input_schemer_8cs.html',1,'']]], - ['isalive_6',['IsAlive',['../class_snake_game_1_1_scripts_1_1_snake.html#aa2454ab275ee9541a7ed75c1ca130e28',1,'SnakeGame::Scripts::Snake']]], - ['isoccupied_7',['IsOccupied',['../class_snake_game_1_1_scripts_1_1_board.html#ac14af6d28239a3b7cff22de8223b7c79',1,'SnakeGame::Scripts::Board']]], - ['isoutofbounds_8',['IsOutOfBounds',['../class_snake_game_1_1_scripts_1_1_board.html#ad3f876c21e27c01a0c7471ac90bbc19f',1,'SnakeGame::Scripts::Board']]] + ['head_0',['Head',['../class_snake_game_1_1_scripts_1_1_snake.html#a8be63c61b8c48c26bbbbdb94ca7c03ba',1,'SnakeGame::Scripts::Snake']]], + ['height_1',['Height',['../class_snake_game_1_1_scripts_1_1_board.html#a692e92fd627a96362937962231c608ec',1,'SnakeGame::Scripts::Board']]], + ['heuristic_2',['Heuristic',['../class_snake_game_1_1_scripts_1_1_snake_agent.html#a04ad166aee61042938f71f6bbba0e893',1,'SnakeGame::Scripts::SnakeAgent']]] ]; diff --git a/docs/html/search/all_8.js b/docs/html/search/all_8.js index 22f0664..910c133 100644 --- a/docs/html/search/all_8.js +++ b/docs/html/search/all_8.js @@ -1,6 +1,12 @@ var searchData= [ - ['left_0',['Left',['../namespace_snake_game_1_1_scripts.html#a950b53731a12289a3f1f4539c71576baa945d5e233cf7d6240f6b783b36a374ff',1,'SnakeGame::Scripts']]], - ['leftkey_1',['LeftKey',['../class_snake_game_1_1_scripts_1_1_input_schemer.html#a6ca6505f1bed0441603e5a7cd4969bdc',1,'SnakeGame::Scripts::InputSchemer']]], - ['length_2',['Length',['../class_snake_game_1_1_scripts_1_1_snake.html#acd5e0bac48156de0940fdbfe4f73af1f',1,'SnakeGame::Scripts::Snake']]] + ['id_0',['Id',['../class_snake_game_1_1_scripts_1_1_snake.html#a8a72a7705ddcdf33a11473a2ad226db9',1,'SnakeGame::Scripts::Snake']]], + ['initializesnakebody_1',['InitializeSnakeBody',['../class_snake_game_1_1_scripts_1_1_snake_controller.html#a838c807f0156a6b90b9889332f148cb0',1,'SnakeGame::Scripts::SnakeController']]], + ['inputcontroller_2ecs_2',['InputController.cs',['../_input_controller_8cs.html',1,'']]], + ['inputschemer_3',['inputSchemer',['../struct_snake_game_1_1_scripts_1_1_player.html#a3179bdf5ec9e835cc9705501c9b21fc3',1,'SnakeGame::Scripts::Player']]], + ['inputschemer_4',['InputSchemer',['../class_snake_game_1_1_scripts_1_1_input_schemer.html',1,'SnakeGame::Scripts']]], + ['inputschemer_2ecs_5',['InputSchemer.cs',['../_input_schemer_8cs.html',1,'']]], + ['isalive_6',['IsAlive',['../class_snake_game_1_1_scripts_1_1_snake.html#aa2454ab275ee9541a7ed75c1ca130e28',1,'SnakeGame::Scripts::Snake']]], + ['isoccupied_7',['IsOccupied',['../class_snake_game_1_1_scripts_1_1_board.html#ac14af6d28239a3b7cff22de8223b7c79',1,'SnakeGame::Scripts::Board']]], + ['isoutofbounds_8',['IsOutOfBounds',['../class_snake_game_1_1_scripts_1_1_board.html#ad3f876c21e27c01a0c7471ac90bbc19f',1,'SnakeGame::Scripts::Board']]] ]; diff --git a/docs/html/search/all_9.js b/docs/html/search/all_9.js index 7f27f09..22f0664 100644 --- a/docs/html/search/all_9.js +++ b/docs/html/search/all_9.js @@ -1,5 +1,6 @@ var searchData= [ - ['maxdistance_0',['MaxDistance',['../class_snake_game_1_1_scripts_1_1_snake_agent.html#a22d7dc89b4254e431cdeb00a31787c7d',1,'SnakeGame::Scripts::SnakeAgent']]], - ['move_1',['Move',['../class_snake_game_1_1_scripts_1_1_snake_controller.html#a24ecedd7f1e91deaa6c717a32bde3ebb',1,'SnakeGame::Scripts::SnakeController']]] + ['left_0',['Left',['../namespace_snake_game_1_1_scripts.html#a950b53731a12289a3f1f4539c71576baa945d5e233cf7d6240f6b783b36a374ff',1,'SnakeGame::Scripts']]], + ['leftkey_1',['LeftKey',['../class_snake_game_1_1_scripts_1_1_input_schemer.html#a6ca6505f1bed0441603e5a7cd4969bdc',1,'SnakeGame::Scripts::InputSchemer']]], + ['length_2',['Length',['../class_snake_game_1_1_scripts_1_1_snake.html#acd5e0bac48156de0940fdbfe4f73af1f',1,'SnakeGame::Scripts::Snake']]] ]; diff --git a/docs/html/search/all_a.js b/docs/html/search/all_a.js index 729c7e1..7f27f09 100644 --- a/docs/html/search/all_a.js +++ b/docs/html/search/all_a.js @@ -1,5 +1,5 @@ var searchData= [ - ['nextdirection_0',['NextDirection',['../class_snake_game_1_1_scripts_1_1_snake.html#a5e1f7e7a7601994cc9952a57d4ac8d36',1,'SnakeGame::Scripts::Snake']]], - ['none_1',['None',['../namespace_snake_game_1_1_scripts.html#a17f90812441fe7911e589bbb135cf509a6adf97f83acf6453d4a6a4b1070f3754',1,'SnakeGame::Scripts']]] + ['maxdistance_0',['MaxDistance',['../class_snake_game_1_1_scripts_1_1_snake_agent.html#a22d7dc89b4254e431cdeb00a31787c7d',1,'SnakeGame::Scripts::SnakeAgent']]], + ['move_1',['Move',['../class_snake_game_1_1_scripts_1_1_snake_controller.html#a24ecedd7f1e91deaa6c717a32bde3ebb',1,'SnakeGame::Scripts::SnakeController']]] ]; diff --git a/docs/html/search/all_b.js b/docs/html/search/all_b.js index 15b0ad0..729c7e1 100644 --- a/docs/html/search/all_b.js +++ b/docs/html/search/all_b.js @@ -1,5 +1,5 @@ var searchData= [ - ['onactionreceived_0',['OnActionReceived',['../class_snake_game_1_1_scripts_1_1_snake_agent.html#abfc4636521e4cfcd150ae0be288386e6',1,'SnakeGame::Scripts::SnakeAgent']]], - ['onepisodebegin_1',['OnEpisodeBegin',['../class_snake_game_1_1_scripts_1_1_snake_agent.html#ac48fcb72958f7c2ad6a97b07edcdfa40',1,'SnakeGame::Scripts::SnakeAgent']]] + ['nextdirection_0',['NextDirection',['../class_snake_game_1_1_scripts_1_1_snake.html#a5e1f7e7a7601994cc9952a57d4ac8d36',1,'SnakeGame::Scripts::Snake']]], + ['none_1',['None',['../namespace_snake_game_1_1_scripts.html#a17f90812441fe7911e589bbb135cf509a6adf97f83acf6453d4a6a4b1070f3754',1,'SnakeGame::Scripts']]] ]; diff --git a/docs/html/search/all_c.js b/docs/html/search/all_c.js index 25a6015..15b0ad0 100644 --- a/docs/html/search/all_c.js +++ b/docs/html/search/all_c.js @@ -1,15 +1,5 @@ var searchData= [ - ['player_0',['Player',['../struct_snake_game_1_1_scripts_1_1_player.html',1,'SnakeGame::Scripts']]], - ['player1_1',['Player1',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9aa77da55027d2fa0d53b7aa0b161daca7',1,'SnakeGame::Scripts']]], - ['player10_2',['Player10',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a511e206233642d4b36422ddb61513ee0',1,'SnakeGame::Scripts']]], - ['player2_3',['Player2',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a35e6584330a7de7edeb92b4bf44b1aad',1,'SnakeGame::Scripts']]], - ['player3_4',['Player3',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a845e86c189dcfe5942981ea77d86ac50',1,'SnakeGame::Scripts']]], - ['player4_5',['Player4',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a46debe0cee201fca70ca4ff963d8aa4b',1,'SnakeGame::Scripts']]], - ['player5_6',['Player5',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a8da5877f8aaf7acc8cf2164ff9119410',1,'SnakeGame::Scripts']]], - ['player6_7',['Player6',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a14352dc5d05b3af20f7002f23fd036bf',1,'SnakeGame::Scripts']]], - ['player7_8',['Player7',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9ac95aa59c703f2cb1c9954f3d93ab92d6',1,'SnakeGame::Scripts']]], - ['player8_9',['Player8',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a02aa35a16b7e51973a8b03b1b45fb135',1,'SnakeGame::Scripts']]], - ['player9_10',['Player9',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a4d9a1ddaaa0b871a958212739c98c6c4',1,'SnakeGame::Scripts']]], - ['position_11',['Position',['../class_snake_game_1_1_scripts_1_1_snake.html#ac00fafa62ff22405bad16c477c5cd79e',1,'SnakeGame::Scripts::Snake']]] + ['onactionreceived_0',['OnActionReceived',['../class_snake_game_1_1_scripts_1_1_snake_agent.html#abfc4636521e4cfcd150ae0be288386e6',1,'SnakeGame::Scripts::SnakeAgent']]], + ['onepisodebegin_1',['OnEpisodeBegin',['../class_snake_game_1_1_scripts_1_1_snake_agent.html#ac48fcb72958f7c2ad6a97b07edcdfa40',1,'SnakeGame::Scripts::SnakeAgent']]] ]; diff --git a/docs/html/search/all_d.js b/docs/html/search/all_d.js index 13f0f9d..25a6015 100644 --- a/docs/html/search/all_d.js +++ b/docs/html/search/all_d.js @@ -1,10 +1,15 @@ var searchData= [ - ['random_0',['Random',['../_board_8cs.html#a832e8f52fca5a678819ec96269dcb532',1,'Board.cs']]], - ['readme_2emd_1',['README.md',['../_r_e_a_d_m_e_8md.html',1,'']]], - ['red_2',['Red',['../class_snake_game_1_1_scripts_1_1_color_changer.html#aa92da33133a221a449da7108e021c319aee38e4d5dd68c4e440825018d549cb47',1,'SnakeGame::Scripts::ColorChanger']]], - ['redmaterial_3',['redMaterial',['../class_snake_game_1_1_scripts_1_1_color_changer.html#a2286267a5e33c36da34e113d0744241f',1,'SnakeGame::Scripts::ColorChanger']]], - ['reset_4',['Reset',['../class_snake_game_1_1_scripts_1_1_board.html#ae388b42c0337124268ef4356c61b8d34',1,'SnakeGame.Scripts.Board.Reset()'],['../class_snake_game_1_1_scripts_1_1_board_array.html#afe3fa956793a0af610f871248ae54655',1,'SnakeGame.Scripts.BoardArray.Reset()'],['../class_snake_game_1_1_scripts_1_1_board_display.html#a53cc71dd05a75839cc45b1e2af9bfa6c',1,'SnakeGame.Scripts.BoardDisplay.Reset()']]], - ['right_5',['Right',['../namespace_snake_game_1_1_scripts.html#a950b53731a12289a3f1f4539c71576baa92b09c7c48c520c3c55e497875da437c',1,'SnakeGame::Scripts']]], - ['rightkey_6',['RightKey',['../class_snake_game_1_1_scripts_1_1_input_schemer.html#ac1197a67daad3c2f2ca5801797bf4db0',1,'SnakeGame::Scripts::InputSchemer']]] + ['player_0',['Player',['../struct_snake_game_1_1_scripts_1_1_player.html',1,'SnakeGame::Scripts']]], + ['player1_1',['Player1',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9aa77da55027d2fa0d53b7aa0b161daca7',1,'SnakeGame::Scripts']]], + ['player10_2',['Player10',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a511e206233642d4b36422ddb61513ee0',1,'SnakeGame::Scripts']]], + ['player2_3',['Player2',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a35e6584330a7de7edeb92b4bf44b1aad',1,'SnakeGame::Scripts']]], + ['player3_4',['Player3',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a845e86c189dcfe5942981ea77d86ac50',1,'SnakeGame::Scripts']]], + ['player4_5',['Player4',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a46debe0cee201fca70ca4ff963d8aa4b',1,'SnakeGame::Scripts']]], + ['player5_6',['Player5',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a8da5877f8aaf7acc8cf2164ff9119410',1,'SnakeGame::Scripts']]], + ['player6_7',['Player6',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a14352dc5d05b3af20f7002f23fd036bf',1,'SnakeGame::Scripts']]], + ['player7_8',['Player7',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9ac95aa59c703f2cb1c9954f3d93ab92d6',1,'SnakeGame::Scripts']]], + ['player8_9',['Player8',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a02aa35a16b7e51973a8b03b1b45fb135',1,'SnakeGame::Scripts']]], + ['player9_10',['Player9',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9a4d9a1ddaaa0b871a958212739c98c6c4',1,'SnakeGame::Scripts']]], + ['position_11',['Position',['../class_snake_game_1_1_scripts_1_1_snake.html#ac00fafa62ff22405bad16c477c5cd79e',1,'SnakeGame::Scripts::Snake']]] ]; diff --git a/docs/html/search/all_e.js b/docs/html/search/all_e.js index d127ec8..13f0f9d 100644 --- a/docs/html/search/all_e.js +++ b/docs/html/search/all_e.js @@ -1,19 +1,10 @@ var searchData= [ - ['score_0',['Score',['../class_snake_game_1_1_scripts_1_1_snake.html#a2e592a8380fb813d951395051c500654',1,'SnakeGame::Scripts::Snake']]], - ['scripts_1',['Scripts',['../namespace_snake_game_1_1_scripts.html',1,'SnakeGame']]], - ['setcolor_2',['SetColor',['../class_snake_game_1_1_scripts_1_1_tile_display.html#adc58c4d193f8ef6dd24e2ea212fa9f15',1,'SnakeGame::Scripts::TileDisplay']]], - ['snake_3',['Snake',['../class_snake_game_1_1_scripts_1_1_tile.html#a8c1a629c15b0f4e787254cf21dee0b11',1,'SnakeGame.Scripts.Tile.Snake'],['../class_snake_game_1_1_scripts_1_1_snake.html#a0309749be0b8dd6fb95099395187de4a',1,'SnakeGame.Scripts.Snake.Snake()'],['../namespace_snake_game_1_1_scripts.html#a17f90812441fe7911e589bbb135cf509adfa90f1b4eb3affbd3b46af34ed2477c',1,'SnakeGame.Scripts.Snake'],['../class_snake_game_1_1_scripts_1_1_snake.html',1,'SnakeGame.Scripts.Snake']]], - ['snake_2ecs_4',['Snake.cs',['../_snake_8cs.html',1,'']]], - ['snakeagent_5',['SnakeAgent',['../class_snake_game_1_1_scripts_1_1_snake_agent.html#a92dac0d503b6486827a9cee233fc142e',1,'SnakeGame.Scripts.SnakeAgent.SnakeAgent()'],['../class_snake_game_1_1_scripts_1_1_snake_agent.html',1,'SnakeGame.Scripts.SnakeAgent']]], - ['snakeagent_2ecs_6',['SnakeAgent.cs',['../_snake_agent_8cs.html',1,'']]], - ['snakecolor_7',['SnakeColor',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9',1,'SnakeGame::Scripts']]], - ['snakecontroller_8',['SnakeController',['../class_snake_game_1_1_scripts_1_1_snake_controller.html',1,'SnakeGame::Scripts']]], - ['snakecontroller_2ecs_9',['SnakeController.cs',['../_snake_controller_8cs.html',1,'']]], - ['snakedirection_10',['SnakeDirection',['../namespace_snake_game_1_1_scripts.html#a950b53731a12289a3f1f4539c71576ba',1,'SnakeGame::Scripts']]], - ['snakegame_11',['SnakeGame',['../index.html',1,'(Global Namespace)'],['../namespace_snake_game.html',1,'SnakeGame']]], - ['snakeid_12',['snakeId',['../struct_snake_game_1_1_scripts_1_1_player.html#ab0ae832e4cb900c2e8fe0ba3ee812450',1,'SnakeGame::Scripts::Player']]], - ['snakes_13',['Snakes',['../class_snake_game_1_1_scripts_1_1_board.html#a26a1c5e21a7499ffd601a9d03ec9172c',1,'SnakeGame::Scripts::Board']]], - ['spawnfood_14',['SpawnFood',['../class_snake_game_1_1_scripts_1_1_board.html#add8d6d7cb840d70e348c1dca171c763a',1,'SnakeGame::Scripts::Board']]], - ['spriteboarddisplay_2ecs_15',['SpriteBoardDisplay.cs',['../_sprite_board_display_8cs.html',1,'']]] + ['random_0',['Random',['../_board_8cs.html#a832e8f52fca5a678819ec96269dcb532',1,'Board.cs']]], + ['readme_2emd_1',['README.md',['../_r_e_a_d_m_e_8md.html',1,'']]], + ['red_2',['Red',['../class_snake_game_1_1_scripts_1_1_color_changer.html#aa92da33133a221a449da7108e021c319aee38e4d5dd68c4e440825018d549cb47',1,'SnakeGame::Scripts::ColorChanger']]], + ['redmaterial_3',['redMaterial',['../class_snake_game_1_1_scripts_1_1_color_changer.html#a2286267a5e33c36da34e113d0744241f',1,'SnakeGame::Scripts::ColorChanger']]], + ['reset_4',['Reset',['../class_snake_game_1_1_scripts_1_1_board.html#ae388b42c0337124268ef4356c61b8d34',1,'SnakeGame.Scripts.Board.Reset()'],['../class_snake_game_1_1_scripts_1_1_board_array.html#afe3fa956793a0af610f871248ae54655',1,'SnakeGame.Scripts.BoardArray.Reset()'],['../class_snake_game_1_1_scripts_1_1_board_display.html#a53cc71dd05a75839cc45b1e2af9bfa6c',1,'SnakeGame.Scripts.BoardDisplay.Reset()']]], + ['right_5',['Right',['../namespace_snake_game_1_1_scripts.html#a950b53731a12289a3f1f4539c71576baa92b09c7c48c520c3c55e497875da437c',1,'SnakeGame::Scripts']]], + ['rightkey_6',['RightKey',['../class_snake_game_1_1_scripts_1_1_input_schemer.html#ac1197a67daad3c2f2ca5801797bf4db0',1,'SnakeGame::Scripts::InputSchemer']]] ]; diff --git a/docs/html/search/all_f.js b/docs/html/search/all_f.js index 7d1b78c..d127ec8 100644 --- a/docs/html/search/all_f.js +++ b/docs/html/search/all_f.js @@ -1,11 +1,19 @@ var searchData= [ - ['tile_0',['Tile',['../class_snake_game_1_1_scripts_1_1_tile.html',1,'SnakeGame.Scripts.Tile'],['../class_snake_game_1_1_scripts_1_1_tile.html#a85859a7cd67d78cdb958f409a312cc3a',1,'SnakeGame.Scripts.Tile.Tile()']]], - ['tile_2ecs_1',['Tile.cs',['../_tile_8cs.html',1,'']]], - ['tiledisplay_2',['TileDisplay',['../class_snake_game_1_1_scripts_1_1_tile_display.html',1,'SnakeGame::Scripts']]], - ['tiledisplay_2ecs_3',['TileDisplay.cs',['../_tile_display_8cs.html',1,'']]], - ['tiles_4',['Tiles',['../class_snake_game_1_1_scripts_1_1_board.html#a9cc69656d3b5aa3be35ffe23443c3025',1,'SnakeGame::Scripts::Board']]], - ['tiletype_5',['TileType',['../namespace_snake_game_1_1_scripts.html#a17f90812441fe7911e589bbb135cf509',1,'SnakeGame::Scripts']]], - ['tiletype_2ecs_6',['TileType.cs',['../_tile_type_8cs.html',1,'']]], - ['type_7',['Type',['../class_snake_game_1_1_scripts_1_1_tile.html#a4b6d96f858f4cf89e278023ca059f598',1,'SnakeGame::Scripts::Tile']]] + ['score_0',['Score',['../class_snake_game_1_1_scripts_1_1_snake.html#a2e592a8380fb813d951395051c500654',1,'SnakeGame::Scripts::Snake']]], + ['scripts_1',['Scripts',['../namespace_snake_game_1_1_scripts.html',1,'SnakeGame']]], + ['setcolor_2',['SetColor',['../class_snake_game_1_1_scripts_1_1_tile_display.html#adc58c4d193f8ef6dd24e2ea212fa9f15',1,'SnakeGame::Scripts::TileDisplay']]], + ['snake_3',['Snake',['../class_snake_game_1_1_scripts_1_1_tile.html#a8c1a629c15b0f4e787254cf21dee0b11',1,'SnakeGame.Scripts.Tile.Snake'],['../class_snake_game_1_1_scripts_1_1_snake.html#a0309749be0b8dd6fb95099395187de4a',1,'SnakeGame.Scripts.Snake.Snake()'],['../namespace_snake_game_1_1_scripts.html#a17f90812441fe7911e589bbb135cf509adfa90f1b4eb3affbd3b46af34ed2477c',1,'SnakeGame.Scripts.Snake'],['../class_snake_game_1_1_scripts_1_1_snake.html',1,'SnakeGame.Scripts.Snake']]], + ['snake_2ecs_4',['Snake.cs',['../_snake_8cs.html',1,'']]], + ['snakeagent_5',['SnakeAgent',['../class_snake_game_1_1_scripts_1_1_snake_agent.html#a92dac0d503b6486827a9cee233fc142e',1,'SnakeGame.Scripts.SnakeAgent.SnakeAgent()'],['../class_snake_game_1_1_scripts_1_1_snake_agent.html',1,'SnakeGame.Scripts.SnakeAgent']]], + ['snakeagent_2ecs_6',['SnakeAgent.cs',['../_snake_agent_8cs.html',1,'']]], + ['snakecolor_7',['SnakeColor',['../namespace_snake_game_1_1_scripts.html#a4b0cbd6c4b84620b237597f7beefc9f9',1,'SnakeGame::Scripts']]], + ['snakecontroller_8',['SnakeController',['../class_snake_game_1_1_scripts_1_1_snake_controller.html',1,'SnakeGame::Scripts']]], + ['snakecontroller_2ecs_9',['SnakeController.cs',['../_snake_controller_8cs.html',1,'']]], + ['snakedirection_10',['SnakeDirection',['../namespace_snake_game_1_1_scripts.html#a950b53731a12289a3f1f4539c71576ba',1,'SnakeGame::Scripts']]], + ['snakegame_11',['SnakeGame',['../index.html',1,'(Global Namespace)'],['../namespace_snake_game.html',1,'SnakeGame']]], + ['snakeid_12',['snakeId',['../struct_snake_game_1_1_scripts_1_1_player.html#ab0ae832e4cb900c2e8fe0ba3ee812450',1,'SnakeGame::Scripts::Player']]], + ['snakes_13',['Snakes',['../class_snake_game_1_1_scripts_1_1_board.html#a26a1c5e21a7499ffd601a9d03ec9172c',1,'SnakeGame::Scripts::Board']]], + ['spawnfood_14',['SpawnFood',['../class_snake_game_1_1_scripts_1_1_board.html#add8d6d7cb840d70e348c1dca171c763a',1,'SnakeGame::Scripts::Board']]], + ['spriteboarddisplay_2ecs_15',['SpriteBoardDisplay.cs',['../_sprite_board_display_8cs.html',1,'']]] ]; diff --git a/docs/html/search/files_1.js b/docs/html/search/files_1.js index 27ef7ab..eef6b01 100644 --- a/docs/html/search/files_1.js +++ b/docs/html/search/files_1.js @@ -1,4 +1,5 @@ var searchData= [ - ['colorchanger_2ecs_0',['ColorChanger.cs',['../_color_changer_8cs.html',1,'']]] + ['colorchanger_2ecs_0',['ColorChanger.cs',['../_color_changer_8cs.html',1,'']]], + ['customization_2emd_1',['customization.md',['../customization_8md.html',1,'']]] ]; diff --git a/docs/html/search/files_2.js b/docs/html/search/files_2.js index 5b980cc..b34a5eb 100644 --- a/docs/html/search/files_2.js +++ b/docs/html/search/files_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['gamemanager_2ecs_0',['GameManager.cs',['../_game_manager_8cs.html',1,'']]] + ['extensions_2emd_0',['extensions.md',['../extensions_8md.html',1,'']]] ]; diff --git a/docs/html/search/files_3.js b/docs/html/search/files_3.js index 87df90e..5b980cc 100644 --- a/docs/html/search/files_3.js +++ b/docs/html/search/files_3.js @@ -1,5 +1,4 @@ var searchData= [ - ['inputcontroller_2ecs_0',['InputController.cs',['../_input_controller_8cs.html',1,'']]], - ['inputschemer_2ecs_1',['InputSchemer.cs',['../_input_schemer_8cs.html',1,'']]] + ['gamemanager_2ecs_0',['GameManager.cs',['../_game_manager_8cs.html',1,'']]] ]; diff --git a/docs/html/search/files_4.js b/docs/html/search/files_4.js index 4accdc1..87df90e 100644 --- a/docs/html/search/files_4.js +++ b/docs/html/search/files_4.js @@ -1,4 +1,5 @@ var searchData= [ - ['readme_2emd_0',['README.md',['../_r_e_a_d_m_e_8md.html',1,'']]] + ['inputcontroller_2ecs_0',['InputController.cs',['../_input_controller_8cs.html',1,'']]], + ['inputschemer_2ecs_1',['InputSchemer.cs',['../_input_schemer_8cs.html',1,'']]] ]; diff --git a/docs/html/search/files_5.js b/docs/html/search/files_5.js index 3043a91..4accdc1 100644 --- a/docs/html/search/files_5.js +++ b/docs/html/search/files_5.js @@ -1,7 +1,4 @@ var searchData= [ - ['snake_2ecs_0',['Snake.cs',['../_snake_8cs.html',1,'']]], - ['snakeagent_2ecs_1',['SnakeAgent.cs',['../_snake_agent_8cs.html',1,'']]], - ['snakecontroller_2ecs_2',['SnakeController.cs',['../_snake_controller_8cs.html',1,'']]], - ['spriteboarddisplay_2ecs_3',['SpriteBoardDisplay.cs',['../_sprite_board_display_8cs.html',1,'']]] + ['readme_2emd_0',['README.md',['../_r_e_a_d_m_e_8md.html',1,'']]] ]; diff --git a/docs/html/search/files_6.js b/docs/html/search/files_6.js index 41eb953..3043a91 100644 --- a/docs/html/search/files_6.js +++ b/docs/html/search/files_6.js @@ -1,6 +1,7 @@ var searchData= [ - ['tile_2ecs_0',['Tile.cs',['../_tile_8cs.html',1,'']]], - ['tiledisplay_2ecs_1',['TileDisplay.cs',['../_tile_display_8cs.html',1,'']]], - ['tiletype_2ecs_2',['TileType.cs',['../_tile_type_8cs.html',1,'']]] + ['snake_2ecs_0',['Snake.cs',['../_snake_8cs.html',1,'']]], + ['snakeagent_2ecs_1',['SnakeAgent.cs',['../_snake_agent_8cs.html',1,'']]], + ['snakecontroller_2ecs_2',['SnakeController.cs',['../_snake_controller_8cs.html',1,'']]], + ['spriteboarddisplay_2ecs_3',['SpriteBoardDisplay.cs',['../_sprite_board_display_8cs.html',1,'']]] ]; diff --git a/docs/html/search/files_7.js b/docs/html/search/files_7.js new file mode 100644 index 0000000..c4427b7 --- /dev/null +++ b/docs/html/search/files_7.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['tile_2ecs_0',['Tile.cs',['../_tile_8cs.html',1,'']]], + ['tiledisplay_2ecs_1',['TileDisplay.cs',['../_tile_display_8cs.html',1,'']]], + ['tiletype_2ecs_2',['TileType.cs',['../_tile_type_8cs.html',1,'']]], + ['tricks_2emd_3',['tricks.md',['../tricks_8md.html',1,'']]] +]; diff --git a/docs/html/search/pages_0.js b/docs/html/search/pages_0.js index 27b5333..8138228 100644 --- a/docs/html/search/pages_0.js +++ b/docs/html/search/pages_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['snakegame_0',['SnakeGame',['../index.html',1,'']]] + ['customization_0',['Customization',['../md_docs_2customization.html',1,'']]] ]; diff --git a/docs/html/search/pages_1.js b/docs/html/search/pages_1.js new file mode 100644 index 0000000..c4c9ed1 --- /dev/null +++ b/docs/html/search/pages_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['extensions_0',['Extensions',['../md_docs_2extensions.html',1,'']]] +]; diff --git a/docs/html/search/pages_2.js b/docs/html/search/pages_2.js new file mode 100644 index 0000000..27b5333 --- /dev/null +++ b/docs/html/search/pages_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['snakegame_0',['SnakeGame',['../index.html',1,'']]] +]; diff --git a/docs/html/search/pages_3.js b/docs/html/search/pages_3.js new file mode 100644 index 0000000..c100a1c --- /dev/null +++ b/docs/html/search/pages_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['tips_20_26_20tricks_0',['Tips & Tricks',['../md_docs_2tricks.html',1,'']]] +]; diff --git a/docs/html/search/searchdata.js b/docs/html/search/searchdata.js index 63226f4..d53f035 100644 --- a/docs/html/search/searchdata.js +++ b/docs/html/search/searchdata.js @@ -1,16 +1,16 @@ var indexSectionsWithContent = { - 0: "abcdfghilmnoprstuw", + 0: "abcdefghilmnoprstuw", 1: "bcgipst", 2: "s", - 3: "bcgirst", + 3: "bcegirst", 4: "abcdfghimorst", 5: "bcgirs", 6: "r", 7: "cst", 8: "bdfglnprsuw", 9: "abcdfhilmnprstuw", - 10: "s" + 10: "cest" }; var indexSectionNames = diff --git a/docs/html/struct_snake_game_1_1_scripts_1_1_player-members.html b/docs/html/struct_snake_game_1_1_scripts_1_1_player-members.html index 00d038b..4f3617e 100644 --- a/docs/html/struct_snake_game_1_1_scripts_1_1_player-members.html +++ b/docs/html/struct_snake_game_1_1_scripts_1_1_player-members.html @@ -1,48 +1,37 @@ - - - - - - - - - - - - - - - - SnakeGame: Member List - - - - - - - - - - - - + + + + +SnakeGame: Member List + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ - - - - - - - - - + + + + +SnakeGame: SnakeGame.Scripts.Player Struct Reference + + + + + + + + + + + + - + - - + + @@ -52,24 +41,24 @@ +
-
- - - - - - - -
-
SnakeGame -  v0.1.0 -
-
Snake AI Game in Unity
-
-
- +
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
SnakeGame +  v0.1.0 +
+
Snake Game - AI Edition
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
docs/tricks.md File Reference
+
+
+
+
+ + + + diff --git a/docs/img/darkmode_toggle.png b/docs/img/darkmode_toggle.png new file mode 100644 index 0000000..5813642 Binary files /dev/null and b/docs/img/darkmode_toggle.png differ diff --git a/docs/img/fancy_scrollbars_firefox.png b/docs/img/fancy_scrollbars_firefox.png new file mode 100644 index 0000000..0efc7ac Binary files /dev/null and b/docs/img/fancy_scrollbars_firefox.png differ diff --git a/docs/img/fancy_scrollbars_webkit.gif b/docs/img/fancy_scrollbars_webkit.gif new file mode 100644 index 0000000..629eacc Binary files /dev/null and b/docs/img/fancy_scrollbars_webkit.gif differ diff --git a/docs/img/fragment_copy_button.png b/docs/img/fragment_copy_button.png new file mode 100644 index 0000000..6d94f97 Binary files /dev/null and b/docs/img/fragment_copy_button.png differ diff --git a/docs/img/interactive_toc_mobile.png b/docs/img/interactive_toc_mobile.png new file mode 100644 index 0000000..b42af5d Binary files /dev/null and b/docs/img/interactive_toc_mobile.png differ diff --git a/docs/img/paragraph_link.png b/docs/img/paragraph_link.png new file mode 100644 index 0000000..e645434 Binary files /dev/null and b/docs/img/paragraph_link.png differ diff --git a/docs/tricks.md b/docs/tricks.md new file mode 100644 index 0000000..77b447c --- /dev/null +++ b/docs/tricks.md @@ -0,0 +1,124 @@ +# Tips & Tricks + +[TOC] + +## Diagrams with Graphviz {#tricks-graphviz} + +To get the best looking class diagrams for your documentation, generate them with Graphviz as vector graphics with transparent background: + +``` +# Doxyfile +HAVE_DOT = YES +DOT_IMAGE_FORMAT = svg +DOT_TRANSPARENT = YES +``` + +In case `INTERACTIVE_SVG = YES` is set in the Doxyfile, all user-defined dotgraphs must be wrapped with the `interactive_dotgraph` CSS class in order for them to be rendered correctly: + +```md +
+ +\dotfile graph.dot + +
+``` + +@note Both the default overflow scrolling behavior in this theme and the interactive editor enabled by `INTERACTIVE_SVG` are unsatisfying workarounds IMHO. Consider designing your graphs to be narrow enough to fit the page to avoid scrolling. + +## Disable Dark Mode {#tricks-darkmode} + +If you don't want the theme to automatically switch to dark mode depending on the browser preference, +you can disable dark mode by adding the `light-mode` class to the html-tag in the header template: + +```html + +``` + +The same can be done to always enable dark-mode: + +```html + +``` + + +@warning This only works if you don't use the dark-mode toggle extension. + +## Choosing Sidebar Width {#tricks-sidebar} + +If you have enabled the sidebar-only theme variant, make sure to carefully choose a proper width for your sidebar. +It should be wide enough to hold the icon, project title and version number. If the content is too wide, it will be +cut off. + +```css +html { + /* Make sure sidebar is wide enough to contain the page title (logo + title + version) */ + --side-nav-fixed-width: 335px; +} +``` + +The chosen width should also be set in the Doxyfile: + +``` +# Doxyfile +TREEVIEW_WIDTH = 335 +``` + +## Formatting Tables {#tricks-tables} + +By default tables in this theme are left-aligned and as wide as required to fit their content. +Those properties can be changed for individual tables. + +### Centering + +Tables can be centered by wrapping them in the `
` HTML-tag. + +
+ +- Code + ```md +
+ | This table | is centered | + |------------|----------------------| + | test 1 | test 2 | +
+ ``` +- Result +
+ | This table | is centered | + |------------|----------------------| + | test 1 | test 2 | +
+ +
+ + + +### Full Width + +To make tables span the full width of the page, no matter how wide the content is, wrap the table in the `full_width_table` CSS class. + +@warning Apply with caution! This breaks the overflow scrolling of the table. Content might be cut of on small screens! + +
+ +- Code + ```md +
+ | This table | spans the full width | + |------------|----------------------| + | test 1 | test 2 | +
+ ``` +- Result +
+ | This table | spans the full width | + |------------|----------------------| + | test 1 | test 2 | +
+ +
+ + + +Read Next: [Example](https://jothepro.github.io/doxygen-awesome-css/class_my_library_1_1_example.html) + \ No newline at end of file diff --git a/doxygen-custom/doxygen-awesome-darkmode-toggle.js b/doxygen-awesome-darkmode-toggle.js similarity index 100% rename from doxygen-custom/doxygen-awesome-darkmode-toggle.js rename to doxygen-awesome-darkmode-toggle.js diff --git a/doxygen-custom/doxygen-awesome-fragment-copy-button.js b/doxygen-awesome-fragment-copy-button.js similarity index 100% rename from doxygen-custom/doxygen-awesome-fragment-copy-button.js rename to doxygen-awesome-fragment-copy-button.js diff --git a/doxygen-custom/doxygen-awesome-interactive-toc.js b/doxygen-awesome-interactive-toc.js similarity index 100% rename from doxygen-custom/doxygen-awesome-interactive-toc.js rename to doxygen-awesome-interactive-toc.js diff --git a/doxygen-custom/doxygen-awesome-paragraph-link.js b/doxygen-awesome-paragraph-link.js similarity index 100% rename from doxygen-custom/doxygen-awesome-paragraph-link.js rename to doxygen-awesome-paragraph-link.js diff --git a/doxygen-custom/doxygen-awesome-sidebar-only-darkmode-toggle.css b/doxygen-awesome-sidebar-only-darkmode-toggle.css similarity index 100% rename from doxygen-custom/doxygen-awesome-sidebar-only-darkmode-toggle.css rename to doxygen-awesome-sidebar-only-darkmode-toggle.css diff --git a/doxygen-custom/doxygen-awesome-sidebar-only.css b/doxygen-awesome-sidebar-only.css similarity index 100% rename from doxygen-custom/doxygen-awesome-sidebar-only.css rename to doxygen-awesome-sidebar-only.css diff --git a/doxygen-custom/doxygen-awesome-tabs.js b/doxygen-awesome-tabs.js similarity index 100% rename from doxygen-custom/doxygen-awesome-tabs.js rename to doxygen-awesome-tabs.js diff --git a/doxygen-custom/doxygen-awesome.css b/doxygen-awesome.css similarity index 100% rename from doxygen-custom/doxygen-awesome.css rename to doxygen-awesome.css diff --git a/doxygen-custom/custom.css b/doxygen-custom/custom.css index 23b91c8..28218ad 100644 --- a/doxygen-custom/custom.css +++ b/doxygen-custom/custom.css @@ -10,6 +10,7 @@ width: 50px; height: 50px; } + #projectnumber { margin-right: 22px; } @@ -74,7 +75,8 @@ } html.dark-mode .darkmode_inverted_image img, /* < doxygen 1.9.3 */ -html.dark-mode .darkmode_inverted_image object[type="image/svg+xml"] /* doxygen 1.9.3 */ { +html.dark-mode .darkmode_inverted_image object[type="image/svg+xml"] /* doxygen 1.9.3 */ +{ filter: brightness(89%) hue-rotate(180deg) invert(); } @@ -86,15 +88,37 @@ html.dark-mode .darkmode_inverted_image object[type="image/svg+xml"] /* doxygen } html.dark-mode .bordered_image img, /* < doxygen 1.9.3 */ -html.dark-mode .bordered_image object[type="image/svg+xml"] /* doxygen 1.9.3 */ { +html.dark-mode .bordered_image object[type="image/svg+xml"] /* doxygen 1.9.3 */ +{ border-radius: var(--border-radius-small); } .title_screenshot { - filter: drop-shadow(0px 3px 10px rgba(0,0,0,0.22)); + filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.22)); max-width: 500px; margin: var(--spacing-large) 0; } +img[alt=logo] { + width: 80px; + height: 80px; +} + +div.title_logo img[src="images/logo.png"] { + width: 80px; + height:80px; + margin: 20px auto; + +} + +.title_logo { + + filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.22)); + width: 80px; + height: 80px; + display: block; + max-width: 500px; + margin: 20px auto; +} .title_screenshot .caption { display: none; diff --git a/doxygen-custom/header.html b/doxygen-custom/header.html index e470319..b83e74c 100644 --- a/doxygen-custom/header.html +++ b/doxygen-custom/header.html @@ -1,90 +1,77 @@ - - - - + + + + - - - - - - - - - - - - - - $projectname: $title - $title - - - - - - - - - - - - $treeview - $search - $mathjax - - $extrastylesheet +$projectname: $title +$title + + + + + + + + + + + +$treeview +$search +$mathjax + +$extrastylesheet +
- -
- - - - - - - - - - - - - - - - - - - - - -
-
$projectname -  $projectnumber -
-
$projectbrief
-
-
$projectbrief
-
$searchbox
-
- - + +
+ + + + + + + + + + + + + + + + + + + + + +
+
$projectname +  $projectnumber +
+
$projectbrief
+
+
$projectbrief
+
$searchbox
+
+ + diff --git a/doxygen-custom/images/logo.svg b/doxygen-custom/images/logo.svg deleted file mode 100644 index 993f424..0000000 --- a/doxygen-custom/images/logo.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/docs/images/logo.png b/images/logo.png similarity index 100% rename from docs/images/logo.png rename to images/logo.png diff --git a/images/logo.svg b/images/logo.svg new file mode 100644 index 0000000..f04da88 --- /dev/null +++ b/images/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/images/product-screenshot.png b/images/product-screenshot.png new file mode 100644 index 0000000..6b9d4b9 Binary files /dev/null and b/images/product-screenshot.png differ diff --git a/doxygen-custom/images/projectlogo.png b/img/logo.png similarity index 100% rename from doxygen-custom/images/projectlogo.png rename to img/logo.png diff --git a/img/screenshot.png b/img/screenshot.png new file mode 100644 index 0000000..6b9d4b9 Binary files /dev/null and b/img/screenshot.png differ diff --git a/logo.drawio.svg b/logo.drawio.svg new file mode 100644 index 0000000..a506ee0 --- /dev/null +++ b/logo.drawio.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/logo.svg b/logo.svg new file mode 100644 index 0000000..f04da88 --- /dev/null +++ b/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file