Line | |
---|
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 ball : PhysicsGame |
---|
10 | { |
---|
11 | |
---|
12 | PhysicsObject pelaaja1; |
---|
13 | |
---|
14 | public override void Begin() |
---|
15 | { |
---|
16 | |
---|
17 | Level.CreateBorders(); |
---|
18 | |
---|
19 | Camera.ZoomToLevel(); |
---|
20 | |
---|
21 | PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); |
---|
22 | Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); |
---|
23 | } |
---|
24 | |
---|
25 | |
---|
26 | |
---|
27 | |
---|
28 | } |
---|
29 | |
---|
30 | |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.