source: 2010/30/janiemit/FysiikkaPeli2/Peli.cs @ 1391

Revision 1391, 460 bytes checked in by paaaanro, 9 years ago (diff)

peli talteen.

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