source:
2015/26/EmilK/asdf.cs
@
6421
Revision 6134, 460 bytes checked in by sieerinn, 4 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[6134] | 1 | using System; |
2 | using System.Collections.Generic; | |
3 | using Jypeli; | |
4 | using Jypeli.Assets; | |
5 | using Jypeli.Controls; | |
6 | using Jypeli.Effects; | |
7 | using Jypeli.Widgets; | |
8 | ||
9 | public class FysiikkaPeli1 : PhysicsGame | |
10 | { | |
11 | public override void Begin() | |
12 | { | |
13 | // TODO: Kirjoita ohjelmakoodisi tähän | |
14 | ||
15 | PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); | |
16 | Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); | |
17 | } | |
18 | ||
19 | } |
Note: See TracBrowser
for help on using the repository browser.