Changeset 8484
- Timestamp:
- 2017-06-09 13:47:34 (6 years ago)
- Location:
- 2017/23/EelisK/Windcaller
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
2017/23/EelisK/Windcaller/Windcaller/Windcaller/Windcaller.cs
r8477 r8484 1475 1475 Keyboard.Listen(Key.Left, ButtonState.Down, MovePlayer, null, new Vector(-player1.nopeus, 0), Left); 1476 1476 Keyboard.Listen(Key.Right, ButtonState.Down, MovePlayer, null, new Vector(player1.nopeus, 0), Right); 1477 Keyboard.Listen(Key.N, ButtonState.Pressed, () => 1478 { 1479 player1.IgnoresCollisionResponse = true; 1480 1481 }, null); 1482 Keyboard.Listen(Key.N, ButtonState.Released, () => 1483 { 1484 player1.IgnoresCollisionResponse = false; 1485 1486 }, null); 1477 1487 1478 1488 //Keyboard.Listen(Key.Space, ButtonState.Pressed, CameraShake, null,20.0, 0.3);
Note: See TracChangeset
for help on using the changeset viewer.