source: 2011/31/SanteriP/Acon/Acon/Peli.cs @ 2494

Revision 2494, 786 bytes checked in by pesosant, 8 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 Peli : PhysicsGame
10{
11    PhysicsObject Acon;
12    public override void Begin()
13    {
14       
15    }   
16        void LuoKentta()
17    {
18        Acon = new PhysicsObject(40, 40);
19        Acon.Shape = Shape.Triangle;
20        Acon.Color = Color.White;
21        Add(Acon);
22
23        Keyboard.Listen(Key.Escape, ButtonState.Pressed, Exit,"Poistu");
24        Keyboard.Listen(Key.F1, ButtonState.Pressed, ShowControlHelp, "Näytä ohjeet");
25       
26
27        Level.CreateBorders(1.0, false);
28        Level.BackgroundColor = Color.Black;
29
30
31    }
32
33    void Kaasua()
34    {
35       
36
37
38
39
40    }
41
42}
Note: See TracBrowser for help on using the repository browser.