add more comments to gfx classes and canvas

This commit is contained in:
scawful
2024-04-14 00:11:50 -05:00
parent 96defd6e5e
commit 012eee1525
4 changed files with 64 additions and 11 deletions

View File

@@ -15,6 +15,14 @@ namespace gfx {
enum class TileType { Tile8, Tile16 };
/**
* @class Tilesheet
* @brief Represents a tilesheet, which is a collection of tiles stored in a
* bitmap.
*
* The Tilesheet class provides methods to manipulate and extract tiles from the
* tilesheet. It also supports copying and mirroring tiles within the tilesheet.
*/
class Tilesheet {
public:
Tilesheet() = default;