示例#1
0
        public void Draw(SpriteBatch spriteBatch, Loc offset)
        {
            CharSheet sheet = GraphicsManager.GetChara(CurrentForm);

            currentCharAction.Draw(spriteBatch, offset, sheet);

            if (currentEmote != null)
            {
                currentEmote.Draw(spriteBatch, offset - MapLoc - drawOffset);
            }
        }
示例#2
0
        public void Draw(SpriteBatch spriteBatch, Loc offset)
        {
            CharSheet sheet = GraphicsManager.GetChara(CurrentForm);

            currentCharAction.Draw(spriteBatch, offset, sheet);

            if (currentEmote != null)
            {
                Loc head = currentCharAction.GetActionPoint(sheet, ActionPointType.Head);
                currentEmote.Draw(spriteBatch, offset - head - drawOffset);
            }
        }