Exemplo n.º 1
0
 public void DrawWeapon()
 {
     if (WeaponLibrary != null)
     {
         WeaponLibrary.Draw(ImageIndex + (WeaponShape * WOffSet + (Gender == MirGender.Female && Class == MirClass.Assassin ? GOffSet : 0)),
                            DisplayRectangle.Location, DrawColour, 1F, true);
     }
 }
Exemplo n.º 2
0
        public virtual void Draw()
        {
            if (FinalDisplayLocation.X >= Settings.ScreenSize.Width ||
                FinalDisplayLocation.Y >= Settings.ScreenSize.Height)
            {
                return;
            }
            if (PrimaryLibrary != null)
            {
                PrimaryLibrary.Draw(ImageIndex, FinalDisplayLocation, DrawColour);
            }

            if (Effect > 0)
            {
                DrawEffect();
            }
        }