source: 2010/27/alelaho/Lumiukko/Peli.cs @ 1126

Revision 1126, 495 bytes checked in by alelaho, 10 years ago (diff)

Insane Darkness lisätty. Laitettu Xbox ohjaintoiminto ja sprite

Line 
1using System;
2using Jypeli;
3using Jypeli.Widgets;
4using Jypeli.Assets;
5
6public class Peli : PhysicsGame
7{
8    PhysicsObject pallo;
9
10    protected override void Begin()
11    {
12        LuoPallo(20.0, 10.0);
13        LuoPallo(40.0, 40.0);
14    }
15
16    void LuoPallo(double x, double y)
17    {
18        pallo = new PhysicsObject (20.0, 20.0);
19        pallo.X = x;
20        pallo.Y = y;
21        pallo.Shape = Shapes.Circle;
22        Add(pallo);
23        double sade;
24    }
25   
26}
Note: See TracBrowser for help on using the repository browser.