public HitPointsChart(HitPoints hit_points) { this.hit_points = hit_points; angle = HPToDegrees (hit_points); }
private int HPToDegrees(HitPoints hp) { return (int) (hp.AsDouble * 360); }
public void CreationWithBadArguments() { hp = new HitPoints (10, 5); }
private void OnChanged(HitPoints old) { Changed.Raise (this, args => { args.OldHitPoints = old; }); }
public void Setup() { hp = new HitPoints (25, 30); }