public override void draw(SpriteBatch sprite_batch, Vector2 draw_offset = default(Vector2)) { Vector2 loc = this.loc + draw_vector(); Inventory.draw(sprite_batch, draw_offset - loc, Scissor_State); sprite_batch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend, null, null, Scissor_State); Class.draw(sprite_batch, draw_offset - loc); Anim.draw(sprite_batch, draw_offset - loc); sprite_batch.End(); }
public override void draw(SpriteBatch sprite_batch, Vector2 draw_offset = default(Vector2)) { Vector2 loc = this.loc + draw_vector(); Inventory.draw(sprite_batch, draw_offset - loc); sprite_batch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend, null, null, Scissor_State); foreach (Icon_Sprite icon in Skill_Icons) { icon.draw(sprite_batch, draw_offset - loc); } sprite_batch.End(); }