public LcarsDef() { Caption = ""; ComponentType = LcarsComponentType.Gray; NeedsDoubleTap = false; IsCommandable = true; Command = null; PlayCommandSound = null; Color = Lcars.ComponentColors[ComponentType]; }
public void UpdateWith(LcarsDef other) { if (other == null) { return; } Caption = other.Caption; ComponentType = other.ComponentType; NeedsDoubleTap = other.NeedsDoubleTap; IsCommandable = other.IsCommandable; Command = other.Command; }
public void UpdateWith(LcarsDef other) { if (other == null) return; Caption = other.Caption; ComponentType = other.ComponentType; NeedsDoubleTap = other.NeedsDoubleTap; IsCommandable = other.IsCommandable; Command = other.Command; }