MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / TileTransformedView

Class TileTransformedView

extensions/olcPGEX_TransformedView.h:220–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218 };
219
220 class TileTransformedView : public TransformedView
221 {
222 public:
223 TileTransformedView() = default;
224 TileTransformedView(const olc::vi2d& vViewArea, const olc::vi2d& vTileSize);
225
226 public:
227 olc::vi2d GetTopLeftTile() const;
228 olc::vi2d GetBottomRightTile() const;
229 olc::vi2d GetVisibleTiles() const;
230 olc::vi2d GetTileUnderScreenPos(const olc::vi2d& vPos) const;
231 const olc::vi2d GetTileOffset() const;
232
233 };
234}
235
236#ifdef OLC_PGEX_TRANSFORMEDVIEW

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected