public override bool Equals(object obj) { VisualNovelBackground OtherBackground = obj as VisualNovelBackground; if (OtherBackground == null) { return(false); } else { if (Name == OtherBackground.Name && Path == OtherBackground.Path) { return(true); } return(false); } }
public Dialog(Dialog Other) { ListNextDialog = new List <int>(); ListSpeakerPriority = new List <SpeakerPriority>(); OverrideCharacterPriority = false; Position = Point.Zero; LeftCharacter = Other.LeftCharacter; RightCharacter = Other.RightCharacter; TopCharacter = Other.TopCharacter; BottomCharacter = Other.BottomCharacter; Back = Other.Back; ActiveBustCharacterState = Other.ActiveBustCharacterState; TopPortaitVisibleState = Other.TopPortaitVisibleState; BottomPortaitVisibleState = Other.BottomPortaitVisibleState; Text = Other.Text; TextPreview = Other.TextPreview; TextTop = Other.TextTop; }
public Dialog(SimpleAnimation LeftCharacter, SimpleAnimation RightCharacter, SimpleAnimation TopCharacter, SimpleAnimation BottomCharacter, VisualNovelBackground Back, ActiveBustCharacterStates ActiveBustCharacterState, string Text, string TextPreview) { ListNextDialog = new List <int>(); ListSpeakerPriority = new List <SpeakerPriority>(); OverrideCharacterPriority = false; this.Position = Point.Zero; this.LeftCharacter = LeftCharacter; this.RightCharacter = RightCharacter; this.TopCharacter = TopCharacter; this.BottomCharacter = BottomCharacter; this.Back = Back; this.ActiveBustCharacterState = ActiveBustCharacterState; this.Text = Text; this.TextPreview = TextPreview; TextTop = ""; TopPortaitVisibleState = PortaitVisibleStates.Invisible; BottomPortaitVisibleState = PortaitVisibleStates.Invisible; }