source: 2016/24/OliverK/ball/ball/ball/ball.cs @ 7287

Revision 7287, 468 bytes checked in by tesatapa, 3 years ago (diff)
Line 
1using System;
2using System.Collections.Generic;
3using Jypeli;
4using Jypeli.Assets;
5using Jypeli.Controls;
6using Jypeli.Effects;
7using Jypeli.Widgets;
8
9public class ball : PhysicsGame
10{
11    public override void Begin()
12    {
13
14        Level.CreateBorders();
15
16        Camera.ZoomToLevel();
17
18        PhoneBackButton.Listen(ConfirmExit, "Lopeta peli");
19        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli");
20    }
21
22}
Note: See TracBrowser for help on using the repository browser.