Remove redundant namespaces from enums (#178)

This commit is contained in:
vent 2024-12-23 20:27:02 +00:00 committed by GitHub
parent 0dcee846f4
commit 845af357e4
Failed to generate hash of commit
15 changed files with 620 additions and 620 deletions

View file

@ -56,7 +56,7 @@ pub fn main() anyerror!void {
// TODO: Update `title` state variables here!
// Press ENTER to change to `gameplay` state
if (rl.isKeyPressed(.key_enter) or rl.isGestureDetected(.gesture_tap)) {
if (rl.isKeyPressed(.enter) or rl.isGestureDetected(.tap)) {
current_screen = .gameplay;
}
},
@ -64,7 +64,7 @@ pub fn main() anyerror!void {
// TODO: Update `gameplay` state variables here!
// Press ENTER to change to `ending` state
if (rl.isKeyPressed(.key_enter) or rl.isGestureDetected(.gesture_tap)) {
if (rl.isKeyPressed(.enter) or rl.isGestureDetected(.tap)) {
current_screen = .ending;
}
},
@ -72,7 +72,7 @@ pub fn main() anyerror!void {
// TODO: Update `ending` state variables here!
// Press ENTER to return to `title` state
if (rl.isKeyPressed(.key_enter) or rl.isGestureDetected(.gesture_tap)) {
if (rl.isKeyPressed(.enter) or rl.isGestureDetected(.tap)) {
current_screen = .title;
}
},