コード例 #1
0
        public void AddSnippit(string who, string text, Responces responce, bool autoEnd = false)
        {
            //    text.InsertSpacing(_chat._FontSmall);
            Snippit sn = new Chat.Snippit(who, text, responce);

            sn.AutoEndSnippit = true;
            AddSnippit(sn);
        }
コード例 #2
0
 public Snippit(string who, StringPlus text)
 {
     data           = null;
     WhosTalking    = who;
     Text           = text;
     Responces      = Responces.Ok();
     _hasRappedText = false;
     AutoEndSnippit = false;
     Requirment     = null;
     Pause          = false;
     Textures       = new List <Chat.TexturePosition>();
 }
コード例 #3
0
 /// <summary>
 /// creates a new snippit
 /// </summary>
 /// <param name="who">the person who is taling</param>
 /// <param name="text">what the person is saying</param>
 /// <param name="responces">the options the player has</param>
 public Snippit(string who, string text, Responces responces)
 {
     data           = null;
     WhosTalking    = who;
     Text           = text;
     Responces      = responces;
     _hasRappedText = false;
     _hasRappedText = false;
     AutoEndSnippit = false;
     Pause          = false;
     Requirment     = null;
     Textures       = new List <Chat.TexturePosition>();
 }