Revision 238,
789 bytes
checked in by joonalmo, 14 years ago
(diff) |
pong peli vaiheessa 6 ja aloitin tiistain tehtävät.
|
Line | |
---|
1 | #region Usings |
---|
2 | using System; |
---|
3 | using System.Collections.Generic; |
---|
4 | using System.Linq; |
---|
5 | using Microsoft.Xna.Framework; |
---|
6 | using Microsoft.Xna.Framework.Audio; |
---|
7 | using Microsoft.Xna.Framework.Content; |
---|
8 | using Microsoft.Xna.Framework.Graphics; |
---|
9 | using Microsoft.Xna.Framework.Input; |
---|
10 | using Microsoft.Xna.Framework.Media; |
---|
11 | using Jypeli; |
---|
12 | using Jypeli.ScreenObjects; |
---|
13 | using Jypeli.Assets; |
---|
14 | using AdvanceMath; |
---|
15 | using Physics2DDotNet; |
---|
16 | using Physics2DDotNet.Shapes; |
---|
17 | #endregion |
---|
18 | |
---|
19 | namespace Aliohjelmia |
---|
20 | { |
---|
21 | public class Peli : RealTimeGame |
---|
22 | { |
---|
23 | protected override void LoadContent() |
---|
24 | { |
---|
25 | IShape ympyra = Shapes.CreateCircle(80.0); |
---|
26 | PhysicsObject pallo = new PhysicsObject(40.0, ympyra); |
---|
27 | Level.Objects.Add(pallo); |
---|
28 | |
---|
29 | } |
---|
30 | } |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.