|
Aegis2D
Modular C++26 2D game engine for networked games
|
Shape placed on the map: a spawn point, a trigger area, a tile placed freely. More...
#include <aegis2d/render/tile_map.hpp>
Public Attributes | |
| int | id = 0 |
| Unique id in the map. | |
| std::string | name {} |
| Name given in Tiled. | |
| std::string | type {} |
Class given in Tiled (type before Tiled 1.9). | |
| Vec2 | position {} |
| Top-left corner in pixels (bottom-left for a tile object, as in Tiled). | |
| Vec2 | size {} |
| Size in pixels; 0 for a point. | |
| float | rotation = 0.0F |
| Rotation in degrees, clockwise. | |
| std::optional< std::uint32_t > | gid {} |
| Global id of the tile it shows (flip bits included), if it is a tile object. | |
| bool | visible = true |
| Shown in Tiled. | |
| TileProperties | properties {} |
| Custom properties. | |
Shape placed on the map: a spawn point, a trigger area, a tile placed freely.
| std::optional<std::uint32_t> aegis2d::render::TileObject::gid {} |
Global id of the tile it shows (flip bits included), if it is a tile object.
| int aegis2d::render::TileObject::id = 0 |
Unique id in the map.
| std::string aegis2d::render::TileObject::name {} |
Name given in Tiled.
| Vec2 aegis2d::render::TileObject::position {} |
Top-left corner in pixels (bottom-left for a tile object, as in Tiled).
| TileProperties aegis2d::render::TileObject::properties {} |
Custom properties.
| float aegis2d::render::TileObject::rotation = 0.0F |
Rotation in degrees, clockwise.
| Vec2 aegis2d::render::TileObject::size {} |
Size in pixels; 0 for a point.
| std::string aegis2d::render::TileObject::type {} |
Class given in Tiled (type before Tiled 1.9).
| bool aegis2d::render::TileObject::visible = true |
Shown in Tiled.