source: 2014/26/JimiR/RunAway/RunAway/RunAway/RunAway/Hahmo.cs @ 5113

Revision 5113, 601 bytes checked in by jotapoti, 5 years ago (diff)

Tein Kikkee kivaa.

Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Jypeli;
6using Jypeli.Assets;
7using Jypeli.Controls;
8using Jypeli.Effects;
9using Jypeli.Widgets;
10class Hahmo : PhysicsObject
11{
12    private IntMeter elamaLaskuri = new IntMeter(5, 0, 5);
13    public IntMeter ElamaLaskuri { get { return elamaLaskuri; } }
14    public Weapon Ase { get; set; }
15    public int Rahat { get; set; }
16    public Hahmo(double leveys, double korkeus)
17        : base(leveys, korkeus)
18    {
19        elamaLaskuri.LowerLimit += delegate { this.Destroy(); };
20    }
21
22}
23
Note: See TracBrowser for help on using the repository browser.