Revision 1532,
454 bytes
checked in by paaaanro, 13 years ago
(diff) |
aloitin Pongin sunnittelun. Pääsin kakkosvaiheeseen.
|
Line | |
---|
1 | using System; |
---|
2 | using Jypeli; |
---|
3 | using Jypeli.Widgets; |
---|
4 | using Jypeli.Assets; |
---|
5 | |
---|
6 | public 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.