source: sipi_o/ss/Peli.cs @ 25

Revision 25, 812 bytes checked in by sikajeov, 11 years ago (diff)

...

Line 
1#region Usings
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using Microsoft.Xna.Framework;
6using Microsoft.Xna.Framework.Audio;
7using Microsoft.Xna.Framework.Content;
8using Microsoft.Xna.Framework.Graphics;
9using Microsoft.Xna.Framework.Input;
10using Microsoft.Xna.Framework.Media;
11using Jypeli;
12using Jypeli.ScreenObjects;
13using Jypeli.Assets;
14using AdvanceMath;
15using Physics2DDotNet;
16using Physics2DDotNet.Shapes;
17#endregion
18
19namespace ss
20{
21    public class Peli : PhysicsGame
22    {
23        protected override void LoadContent()
24        {
25            IShape ympyra = Shapes.CreateCircle(20.0);
26            PhysicsObject pallo = new PhysicsObject(10.0, ympyra);
27            pallo.Color = Color.Red;
28            Level.Objects.Add(pallo);
29        }
30    }
31}
Note: See TracBrowser for help on using the repository browser.