source: 2018/23/JesseS/jessejaosku/jessejaosku/jessejaosku/jessejaosku.cs @ 9601

Revision 9601, 794 bytes checked in by osedcald, 21 months 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 jessejaosku : PhysicsGame
10{
11    public override void Begin()
12    {
13       
14
15        IsFullScreen = true;
16        LuoKentta();
17        LuoSotamies1();
18
19        PhoneBackButton.Listen(ConfirmExit, "Lopeta peli");
20        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli");   
21    }
22    void LuoKentta() 
23    {
24        Level.Background.Color = Color.White;
25        //jakemappi.SetTileMethod('*', LuoSotamies1);
26         
27       
28
29
30    }
31    void LuoSotamies1()
32    {
33        PhysicsObject Sotamies1 = new PhysicsObject(30.0, 30.0);
34        Add(Sotamies1);
35    }
36
37}
Note: See TracBrowser for help on using the repository browser.