示例#1
0
 public void SetAcher(int id, SpeachBubbleAcher ancher)
 {
     if (id == 0)
     {
         _sb1 = ancher;
     }
     else
     {
         _sb2 = ancher;
     }
 }
示例#2
0
        public SpeachBubbles(ChatModule parent, SpeachBubbleAcher p1, SpeachBubbleAcher p2, SpriteFont font) : base(parent)
        {
            _font              = font;
            _background        = parent.Game.Content.Load <Texture2D>("imgs\\GUI\\speachbubble");
            TypeOfConversation = ConversationType.Passive;
            ScreenColour       = Color.Transparent;
            BackgroundColour   = Color.White;
            AllowChatToDraw    = false;
            TextSpeed          = 40;

            _sb1 = p1;
            _sb2 = p2;
        }