public override void draw(SpriteBatch sprite_batch, Vector2 draw_offset = default(Vector2)) { // Stats Window Stats_Window.draw(sprite_batch, draw_offset); foreach (var node in StatusPageNodes .Where(x => x is StatusPrimaryStatUINode)) { (node as StatusPrimaryStatUINode).DrawGaugeBg( sprite_batch, draw_offset); } // Item Window Items_Window.draw(sprite_batch, draw_offset); SiegeBg.draw(sprite_batch, draw_offset); // Window Design // Window_Design.draw(sprite_batch, draw_offset); // Draw Window Contents // foreach (var node in StatusPageNodes) { node.Draw(sprite_batch, draw_offset); } }
public override void draw(SpriteBatch sprite_batch, Vector2 draw_offset = default(Vector2)) { // Bonuses Window Bonuses_Window.draw(sprite_batch, draw_offset); Bonus_Bg.draw(sprite_batch, draw_offset); // Supports Window Supports_Window.draw(sprite_batch, draw_offset); Support_Bg.draw(sprite_batch, draw_offset); // Window Design // Window_Design.draw(sprite_batch, draw_offset); // Draw Window Contents // // Bonuses Window // Supports Window Supports.draw(sprite_batch, draw_offset); // Draw Window Contents // foreach (var node in StatusPageNodes) { node.Draw(sprite_batch, draw_offset); } }