source: 2013/27/TeemuM/Game/Game/Game/Game.cs @ 4353

Revision 4353, 733 bytes checked in by jumakall, 9 years ago (diff)
Line 
1using System;
2using System.Collections.Generic;
3using Jypeli;
4using Jypeli.Assets;
5using Jypeli.Controls;
6using Jypeli.Effects;
7using Jypeli.Widgets;
8
9public class G : PhysicsGame
10{
11    public static G game;
12    public Image playerImage = LoadImage("Player");
13
14    public override void Begin()
15    {
16        game = this;
17
18        Player pelaaja = new Player(this, 50, 50);
19        Add(pelaaja);
20
21        PhoneBackButton.Listen(Exit, "Lopeta peli");
22        Keyboard.Listen(Key.Escape, ButtonState.Pressed, Exit, "Lopeta peli");
23
24        Mouse.IsCursorVisible = true;
25    }
26
27    protected override void Update(Microsoft.Xna.Framework.GameTime gameTime)
28    {
29
30        base.Update(gameTime);
31    }
32}
Note: See TracBrowser for help on using the repository browser.