mirror of
https://github.com/Fluffy-Bean/ColouringApp.git
synced 2025-01-01 11:56:00 +00:00
28 lines
573 B
Go
28 lines
573 B
Go
package scenes
|
|
|
|
import (
|
|
"ColouringApp/application"
|
|
raylib "github.com/gen2brain/raylib-go/raylib"
|
|
)
|
|
|
|
func PlayerData() {
|
|
// Load player data here
|
|
for !application.ShouldQuit {
|
|
application.ShouldQuit = raylib.WindowShouldClose()
|
|
if application.CurrentScene != application.ScenePlayerData {
|
|
break
|
|
}
|
|
|
|
raylib.BeginDrawing()
|
|
raylib.ClearBackground(raylib.Black)
|
|
|
|
raylib.DrawText("Loading...", 10, application.WindowHeight-30, 20, raylib.White)
|
|
|
|
raylib.EndDrawing()
|
|
|
|
//time.Sleep(1 * time.Second)
|
|
|
|
application.CurrentScene = application.SceneTitle
|
|
}
|
|
}
|