Esempio n. 1
0
        public override void draw(SpriteBatch sprite_batch, Vector2 draw_offset = default(Vector2))
        {
            Vector2 loc = this.loc + draw_vector();

            sprite_batch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend, null, null, Scissor_State);
            Class.draw(sprite_batch, draw_offset - loc);
            Lvl.draw(sprite_batch, draw_offset - loc);
            Exp.draw(sprite_batch, draw_offset - loc);
            Hp.draw(sprite_batch, draw_offset - loc);
            Slash.draw(sprite_batch, draw_offset - loc);
            MaxHp.draw(sprite_batch, draw_offset - loc);
            Affinity_Icon.draw(sprite_batch, draw_offset - loc);
            foreach (Status_Icon_Sprite icon in Status_Icons)
            {
                icon.draw(sprite_batch, draw_offset - loc);
            }
            sprite_batch.End();
        }