namespace EDJournal { public class HullDamageEntry : Entry { private double health = 0; private bool playerpilot = false; private bool fighter = false; public double Health => health; public bool PlayerPilot => playerpilot; public bool Fighter => fighter; protected override void Initialise() { health = JSON.Value("Health") ?? 100.0; playerpilot = JSON.Value("PlayerPilot") ?? true; fighter = JSON.Value("Fighter") ?? false; } } }