source: 2013/27/JesseK/LMRaing2D/LMRaing2D/LMRaing2D/LMRaing2D.cs @ 10335

Revision 4481, 720 bytes checked in by jehekyyt, 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 LMRaing2D : PhysicsGame
10{
11    public override void Begin()
12    {
13        LuoRata()
14
15        Vector() ReittiPisteet = new Vector()
16        {
17        new Vector ( -100.0, -30.0),
18        new Vector (100.0, 80.0),
19        new Vector (500.0, 40.0)
20};
21        PhoneBackButton.Listen(ConfirmExit, "Lopeta peli");
22        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli");
23    }
24
25void LuoRata
26{
27    RoadMap tie= new RoadMap (RaittiPisteet);
28    tie.DefaultWidth=50.0;
29    tie.Insert();
30}
31
32
33}
34
35
36
37
Note: See TracBrowser for help on using the repository browser.