source: 2013/27/TeemuM/Game/Game/Game/Game.cs @ 4352

Revision 4352, 454 bytes checked in by jumakall, 8 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 Game : PhysicsGame
10{
11    public override void Begin()
12    {
13        Player pelaaja = new Player(50, 50);
14        Add(pelaaja);
15
16        PhoneBackButton.Listen(Exit, "Lopeta peli");
17        Keyboard.Listen(Key.Escape, ButtonState.Pressed, Exit, "Lopeta peli");
18    }
19}
Note: See TracBrowser for help on using the repository browser.