public override void Draw() { if (BodyLibrary != null) { BodyLibrary.Draw(DrawFrame, DrawLocation, DrawColour); } }
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); }
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); } }
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); } }
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); }
public override void Draw() { BodyLibrary.Draw(Image, DrawLocation, DrawColour, true); }