15#include <aegis/component.hpp>
16#include <etl/vector.h>
32 ae::ComponentTypeID
getType()
const override
56 template <
typename SpriteID>
Manager for IO functions.
etl::vector< GraphicAsset, 32 > loadedGraphics
ae::ComponentTypeID getType() const override
void unloadGraphic(GraphicAsset &asset)
Unload a specific graphic asset from memory.
GraphicAsset loadSpriteGraphic(const std::string &spritePath, SpriteType type, SpriteID spriteId)
Wrapper function that loads a sprite graphic asset into memory.
static constexpr ae::ComponentTypeID TYPE_ID
void submitToManager() override
void update(ae::q20_12_t) override
GraphicAsset loadSpriteGraphicImpl(const std::string &spritePath, SpriteType type, int spriteId)
Loads the sprite graphic asset's tiles, pal, and map into memory via the spriteDb.
GraphicAsset loadGraphic(const std::string &path)
Loads a graphic asset's tiles, pal, and map into memory.
void unloadAll()
Unload all graphic assets from memory.
Holds loaded graphics data.