How the game will be flipped CreateLayer