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 update() { base.update(); // Stats Window Stats_Window.update(); // Item Window Items_Window.update(); }