Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (Raylib.IsKeyPressed(KeyboardKey.Up)) waz.ZmienKierunek(new Vector2(0, -1));
- if (Raylib.IsKeyPressed(KeyboardKey.Down)) waz.ZmienKierunek(new Vector2(0, 1));
- if (Raylib.IsKeyPressed(KeyboardKey.Left)) waz.ZmienKierunek(new Vector2(-1, 0));
- if (Raylib.IsKeyPressed(KeyboardKey.Right)) waz.ZmienKierunek(new Vector2(1, 0));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement