source: onni_m/Pong/Peli.cs @ 195

Revision 195, 828 bytes checked in by anlakane, 12 years ago (diff)

Aloitin "Pongin" tekemisen.

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 Pong
20{
21    public class Peli : PhysicsGame
22    {
23        protected override void LoadContent()
24        {
25            Level = LuoKentta();
26        }
27
28        Level LuoKentta()
29        {
30            Level kentta = new Level(this);
31            kentta.BackgroundColor = Color.Black;
32
33            return kentta;
34
35
36        }
37    }
38}
Note: See TracBrowser for help on using the repository browser.