# Chapter 6: The Foundation: Tile System

A `Tile` class is the key to creating tile-based games. It holds a map of tile types, a set of colliders, and textures for each type of tile.

* `textures`: A set of textures that represent each type of tile.
* `tile_map`: A 2D map of tile types, where each tile type corresponds to a texture.
* `colliders`: A set of collision boundaries that correspond to each tile in the tile map.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lados-organization.gitbook.io/goku/chapter-6-the-foundation-tile-system.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
