source: 2017/24/SebastianH/JumpingAdventure/JumpingAdventure/JumpingAdventure/JumpingAdventure.cs @ 8618

Revision 8618, 508 bytes checked in by npo17_13, 2 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 JumpingAdventure : PhysicsGame
10{
11    public override void Begin()
12    {
13        PhysicsObject Jänis = new PhysicsObject(50.0, 50.0, Shape.Pentagon);
14        Jänis.X = 200.0;
15        Jänis.Y = 400.0;
16        Add (Jänis);
17
18
19        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli");
20    }
21}
Note: See TracBrowser for help on using the repository browser.