why does this not work???
if (Keyboard::isKeyPressed(Keyboard::Enter))
{
gameNotStarted = false;
}
// set the color
text.setFillColor(Color::White);
//position the text
FloatRect textRect = text.getLocalBounds();
text.setOrigin(textRect.width / 2.0f, textRect.top + textRect.height / 2.0f);
text.setPosition(7200 / 3.4f, 1000 / 2.0f);
window.clear();
//draw here
if (gameNotStarted = true)
{
window.draw(text);
}