X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=CarFire%2FCarFire%2FCarFire%2FSaberMonster.cs;h=2d711a4e812159e55fbecc72092528ee58a2e8df;hb=da371d63be668ed0330555ccce0788e8d672d32e;hp=ce5916987a472986505a8c5f2c6284c2f89f14b5;hpb=d167160264cd2c33de81a71039eddbb959c40bb2;p=chaz%2Fcarfire
diff --git a/CarFire/CarFire/CarFire/SaberMonster.cs b/CarFire/CarFire/CarFire/SaberMonster.cs
index ce59169..2d711a4 100644
--- a/CarFire/CarFire/CarFire/SaberMonster.cs
+++ b/CarFire/CarFire/CarFire/SaberMonster.cs
@@ -28,6 +28,8 @@ namespace CarFire
///
public class SaberMonster : IMonster
{
+ //starting health
+ int health = 100;
///
/// Construct this type of monster. This constructor is called
/// by the map when the game requests entities.
@@ -196,7 +198,8 @@ namespace CarFire
///
public int Health
{
- get { throw new NotImplementedException(); }
+ get { return this.health; }
+
}
///
@@ -205,7 +208,7 @@ namespace CarFire
///
public void causeDamageTo(int amount)
{
- throw new NotImplementedException();
+ this.health -= amount;
}
///