Represents a chunk of the environment. More...
#include <chunks.h>
Public Attributes | |
| Vec2 | position |
| Position of the chunk. | |
| EnvironmentTile | tiles [CHUNK_SIZE_TILE][CHUNK_SIZE_TILE] |
| Tiles in the chunk. | |
| Vec2 | roomSize |
| Size of the room in the chunk. | |
| RoomHallways | hallways |
| Hallways in the room. | |
| RoomFloorPattern | floorPattern |
| Floor pattern in the room. | |
| RoomType | roomType |
| Type of the room. | |
| int | totalEnemyCount |
| Total number of enemies in the room. | |
| int | currentEnemyCount |
| Current number of enemies in the room. | |
| bool | inCombat |
| Whether the room is in combat. | |
| bool | empty |
| Whether the room is empty. | |
| bool | discovered |
| Whether the room is discovered. | |
| Collider * | colliders [CHUNK_SIZE_TILE] |
| Colliders in the chunk. | |
| int | colliderCount |
| Number of colliders in the chunk. | |
Represents a chunk of the environment.
| int EnvironmentChunk::colliderCount |
Number of colliders in the chunk.
| Collider* EnvironmentChunk::colliders[CHUNK_SIZE_TILE] |
Colliders in the chunk.
| int EnvironmentChunk::currentEnemyCount |
Current number of enemies in the room.
| bool EnvironmentChunk::discovered |
Whether the room is discovered.
| bool EnvironmentChunk::empty |
Whether the room is empty.
| RoomFloorPattern EnvironmentChunk::floorPattern |
Floor pattern in the room.
| RoomHallways EnvironmentChunk::hallways |
Hallways in the room.
| bool EnvironmentChunk::inCombat |
Whether the room is in combat.
| Vec2 EnvironmentChunk::position |
Position of the chunk.
| Vec2 EnvironmentChunk::roomSize |
Size of the room in the chunk.
| RoomType EnvironmentChunk::roomType |
Type of the room.
| EnvironmentTile EnvironmentChunk::tiles[CHUNK_SIZE_TILE][CHUNK_SIZE_TILE] |
Tiles in the chunk.
| int EnvironmentChunk::totalEnemyCount |
Total number of enemies in the room.