示例#1
0
        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);
            }
        }
示例#2
0
        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;
        }
示例#3
0
        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;
        }