Esempio n. 1
0
        public void Talk(string text, Charset textCharset, ScummStateV5 state)
        {
            talk    = text;
            charset = textCharset;

            // draw overhead
            if (state.Overhead)
            {
                talkPosition.X = position.X;
                if (state.Centered)
                {
                    talkPosition.X -= charset.GetTextWidth(talk) / 2;
                }
            }
        }