Remove redundant namespaces from enums (#178)
This commit is contained in:
parent
0dcee846f4
commit
845af357e4
15 changed files with 620 additions and 620 deletions
|
|
@ -51,9 +51,9 @@ pub fn main() anyerror!void {
|
|||
}
|
||||
|
||||
// Control frames speed
|
||||
if (rl.isKeyPressed(rl.KeyboardKey.key_right)) {
|
||||
if (rl.isKeyPressed(.right)) {
|
||||
framesSpeed += 1;
|
||||
} else if (rl.isKeyPressed(rl.KeyboardKey.key_left)) {
|
||||
} else if (rl.isKeyPressed(.left)) {
|
||||
framesSpeed -= 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue