source: 2013/30/NoelV/shooter/shooter/shooter/shooter.cs @ 4582

Revision 4582, 704 bytes checked in by novaanan, 10 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 shooter : PhysicsGame
10{
11    Image aluksenKuva = LoadImage("alus");
12    Image vihollisenKuva = LoadImage("vihollinen");
13
14
15    public override void Begin()
16    {
17        PhysicsObject alus = new PhysicsObject(100, 100);
18        alus.Image = aluksenKuva;
19        Add(alus);
20
21        PhysicsObject vihollinen = new PhysicsObject(100, 100);
22        vihollinen.Image = 
23        // TODO: Kirjoita ohjelmakoodisi tähän
24
25        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli");
26    }
27}
28
Note: See TracBrowser for help on using the repository browser.