source: 2013/30/MiskaK/MW2(My Warfare 2)/MW2(My Warfare 2)/MW2(My Warfare 2)/Tuhoutuva.cs @ 4507

Revision 4507, 642 bytes checked in by anlakane, 6 years ago (diff)

Talletus.

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;
10
11/// <summary>
12/// Annetaan seinille kestolaskuri.
13/// </summary>
14public class Tuhoutuva : PhysicsObject
15{
16    private DoubleMeter kesto;
17    public DoubleMeter Kesto
18    {
19        get { return kesto; }
20        set { kesto = value; }
21    }
22
23    public Tuhoutuva(double width, double height, int kesto)
24        : base(width, height)
25    {
26        this.kesto = new DoubleMeter(kesto);
27        this.kesto.MinValue = 0;
28    }
29}
Note: See TracBrowser for help on using the repository browser.