Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OneLoneCoder/olcPixelGameEngine
/ EnableLayer
Method
EnableLayer
olcPixelGameEngine.h:2573–2576 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2571
}
2572
2573
void PixelGameEngine::EnableLayer(uint8_t layer, bool b)
2574
{
2575
if (layer < vLayers.size()) vLayers[layer].bShow = b;
2576
}
2577
2578
void PixelGameEngine::SetLayerOffset(uint8_t layer, const olc::vf2d& offset)
2579
{
Callers
nothing calls this directly
Calls
1
size
Method · 0.45
Tested by
no test coverage detected