public void Character_Killed(IKillable killed, IGameObject source) { var s = source as Character; if (s.Experience != null) { s.Experience.Add(ExperienceWhenKilled); } Loot.Drop(); GameWorld.Remove(this); }
public void Character_Killed(IKillable killed, IGameObject source) { var s = source as Character; if (s.Experience != null) { s.Experience.Add(ExperienceWhenKilled); } Loot.Drop(); GameWorld.Remove(this); }