MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / ~TileAtlas

Method ~TileAtlas

engine/src/texture.cpp:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13TileAtlas::TileAtlas() { sourceRectangles = NULL; }
14
15TileAtlas::~TileAtlas()
16{
17 if (sourceRectangles != NULL)
18 delete[] sourceRectangles;
19}
20
21void TileAtlas::initialize(unsigned int* ptex, int frames_wide, int frames_high,
22 int frame_width, int frame_height)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected