예제 #1
0
 public override void Draw()
 {
     if (BodyLibrary != null)
     {
         BodyLibrary.Draw(DrawFrame, DrawLocation, DrawColour);
     }
 }
예제 #2
0
        public override void Draw()
        {
            if (FrameIndex >= FrameCount && !Repeat)
            {
                return;
            }
            if (BodyLibrary == null)
            {
                return;
            }

            if (Blend)
            {
                BodyLibrary.DrawBlend(DrawFrame + FrameIndex, DrawLocation, DrawColour, true, 0.8F);
            }
            else
            {
                BodyLibrary.Draw(DrawFrame + FrameIndex, DrawLocation, DrawColour, true);
            }
            //画特效
            if (EffectCount <= 0)
            {
                return;
            }
            if (EffectIndex >= EffectCount && !Repeat)
            {
                return;
            }
            BodyLibrary.DrawBlend(EffectStart + EffectIndex, DrawLocation, Color.White, true, 0.8F);
        }
예제 #3
0
        public override void Draw()
        {
            //  Draw in front
            if (BodyLibrary != null)
            {
                BodyLibrary.Draw(DrawFrame, DrawLocation, DrawColour);
            }
            //  Draw behind

            if (Libraries.FloorItemEffect != null && Settings.DropEffect)//give them option :P
            {
                Draw_EE_Effect(DrawLocation);
            }
        }
예제 #4
0
        public override void Draw()
        {
            if (FrameIndex >= FrameCount && !Repeat)
            {
                return;
            }
            if (BodyLibrary == null)
            {
                return;
            }

            if (Blend)
            {
                BodyLibrary.DrawBlend(DrawFrame + FrameIndex, DrawLocation, DrawColour, true, 0.8F);
            }
            else
            {
                BodyLibrary.Draw(DrawFrame + FrameIndex, DrawLocation, DrawColour, true);
            }
        }
예제 #5
0
        public override void Draw()
        {
            if (BodyLibrary == null)
            {
                return;
            }

            BodyLibrary.Draw(DrawFrame, DrawLocation, DrawColour, true);

            if (QuestIcon == QuestIcon.None)
            {
                return;
            }

            var offSet = BodyLibrary.GetOffSet(BaseIndex);
            var size   = BodyLibrary.GetSize(BaseIndex);

            int imageIndex = 981 + ((int)QuestIcon * 2) + QuestIndex;

            //Libraries.Prguse.Draw(981 + ((int)QuestIcon * 2) + QuestIndex, DrawLocation.Add(offSet).Add(0, -40), Color.White, false);
            Libraries.Prguse.Draw(imageIndex, DrawLocation.Add(offSet).Add(size.Width / 2 - 28, -40), Color.White, false);
        }
예제 #6
0
 public override void Draw()
 {
     BodyLibrary.Draw(Image, DrawLocation, DrawColour, true);
 }