added IsDead property; made attack notice when the target is dead
This commit is contained in:
@@ -79,6 +79,8 @@ namespace OpenRa.Game
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsDead { get { return Health <= 0; } }
|
||||
|
||||
public void InflictDamage(Actor attacker, Bullet inflictor, int damage)
|
||||
{
|
||||
/* todo: auto-retaliate, etc */
|
||||
|
||||
Reference in New Issue
Block a user