public override void draw(SpriteBatch sprite_batch, Vector2 draw_offset = default(Vector2)) { Name.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) + new Vector2(16, 0) - offset)); Uses.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) + new Vector2(112, 0) - offset)); Slash.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) + new Vector2(160, 0) - offset)); Use_Max.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) + new Vector2(200, 0) - offset)); Convoy.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) + new Vector2(232, 0) - offset)); Icon.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) - offset)); }
public override void draw(SpriteBatch sprite_batch, Vector2 draw_offset) { if (Uses != null) { Uses.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) + new Vector2(96, 0) - offset)); Slash.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) + new Vector2(97, 0) - offset)); Use_Max.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) + new Vector2(120, 0) - offset)); } base.draw(sprite_batch, draw_offset); }
public override void draw(SpriteBatch sprite_batch, Vector2 draw_offset = default(Vector2)) { Name.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) + new Vector2(16, 0) - offset)); if (Uses != null) { Uses.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) + new Vector2(96, 0) - offset)); Slash.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) + new Vector2(97, 0) - offset)); Use_Max.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) + new Vector2(96, 0) - offset)); Icon.draw(sprite_batch, draw_offset - ((this.loc + draw_vector()) - offset)); } }