source: 2010/31/jomaveij/Pong/Peli.cs @ 1532

Revision 1532, 454 bytes checked in by paaaanro, 9 years ago (diff)

aloitin Pongin sunnittelun. Pääsin kakkosvaiheeseen.

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 pallero = new PhysicsObject(39.9, 40.0);
11        pallero.Shape = Shapes.Circle;
12        pallero.Y = 100.82346277835;
13        Add(pallero);
14
15        Vector newton = new Vector(1000.5, -500.2);
16        pallero.Hit(newton);
17
18        Level.CreateBorders();
19    }
20}
Note: See TracBrowser for help on using the repository browser.