Example #1
0
void WorldState::Init(RenderContext& ctx,Scene* m_scene){
	std::cout << "Initializing WorldState\n";
    ctx.checkFS(isFullscreen = false);
    Tiles* tile;
    tile->CreateMap(ctx,m_scene);
    m_scene->add(GameObject(ctx, std::string("res/hero1.png"), std::string("hero")), 0, {300, 200}, true);
}