source: 2013/27/MikkoI/omapeli/omapeli/omapeli/omapeli.cs @ 4338

Revision 4338, 508 bytes checked in by mijoilmo, 7 years ago (diff)

Talletus.

Line 
1using System;
2using System.Collections.Generic;
3using Jypeli;
4using Jypeli.Assets;
5using Jypeli.Controls;
6using Jypeli.Effects;
7using Jypeli.Widgets;
8
9public class omapeli : PhysicsGame
10{
11    public override void Begin()
12    {
13        Level.BackgroundColor = Color.White;
14        PhysicsObject box = new PhysicsObject(40,40);
15        box.Color = Color.Green;
16        Add(box);
17        Keyboard.Listen(Key.Escape, ButtonState.Pressed, delegate { Exit(); }, "Lopeta peli");
18    }
19   
20}
Note: See TracBrowser for help on using the repository browser.