Skip to content
Snippets Groups Projects
Commit 349009b3 authored by josisaku's avatar josisaku
Browse files

hyppy toimii taas

parent 011d644d
No related branches found
No related tags found
No related merge requests found
......@@ -304,7 +304,7 @@ public class Bossfight : PhysicsGame
{
Keyboard.Listen(Key.A, ButtonState.Down, () => tero.X -= 12, "Move left");
Keyboard.Listen(Key.D, ButtonState.Down, () => tero.X += 12, "Move right");
Keyboard.Listen(Key.W, ButtonState.Pressed, () => tero.Jump(500.0), "Jump");
Keyboard.Listen(Key.W, ButtonState.Down, () => tero.Jump(500.0), "Jump");
// Safe shooting
Mouse.Listen(MouseButton.Left, ButtonState.Down, () =>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment