Beispiel #1
0
void Purity::Scene::draw(Purity::RenderTarget& target) const
{
    mMutex.lock();

    target.draw(*mMap);

    target.draw(*mObjectManager);

    mMutex.unlock();
}
Beispiel #2
0
void Purity::Layer::draw(Purity::RenderTarget& target) const
{
    for (const auto& it : mTiles)
    {
        target.draw(*it.second);
    }
}