source: 2011/31/EsaN/DevOid/DevOid/DevOid/Peli.cs @ 2493

Revision 2493, 669 bytes checked in by eskuniem, 8 years ago (diff)

Talletus.

Line 
1using System;
2using System.Collections.Generic;
3using Jypeli;
4using Jypeli.Assets;
5using Jypeli.Controls;
6using Jypeli.Effects;
7using Jypeli.Widgets;
8
9public class Peli : Game
10{
11    public override void Begin()
12    {
13        LuoSaari(1000, 1750, 480, -400, 0);
14
15    }
16
17    void LuoSaari (double leveys, double korkeus, double x, double y, double rotation)
18    {
19        Image Saari1k = LoadImage("Saari1k");
20
21        PhysicsObject saari1 = new PhysicsObject(leveys, korkeus);
22        saari1.X = x;
23        saari1.Y = y;
24        saari1.Angle = Angle.FromDegrees(rotation);
25        saari1.Image = Saari1k;
26        Add (saari1);
27
28
29    }
30}
Note: See TracBrowser for help on using the repository browser.