source: 2016/30/VeetiR/PerusPeli1/PerusPeli1/PerusPeli1/PerusPeli1.cs @ 8126

Revision 8126, 444 bytes checked in by sieerinn, 7 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 PerusPeli1 : Game
10{
11    public override void Begin()
12    {
13        // 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.