protected override void UpdateStandardMenu(bool active) { // Needed to animate map sprites if (this.HidesParent) { Global.game_system.update_timers(); } Window.update(active); Background.update(); FaceWindow.update(); Face.update(); NameBanner.update(); Name.update(); // Switch field/base support mode if (FieldBaseButton != null) { FieldBaseButton.Update(active); } bool switchField = active && Window.FieldBaseDifference && Global.Input.triggered(Inputs.X); if (FieldBaseButton != null) { switchField |= FieldBaseButton.consume_trigger(MouseButtons.Left) || FieldBaseButton.consume_trigger(TouchGestures.Tap); } if (switchField) { OnFieldBaseSwitched(new EventArgs()); } }
protected override void update_commands(bool input) { base.update_commands(input); if (Face != null) { Face.update(); } }
protected override void UpdateStandardMenu(bool active) { // Needed to animate map sprites Global.game_system.update_timers(); Window.update(active); Background.update(); FaceWindow.update(); AuguryFace.update(); TextBox.update(); }
public void update(bool input) { Face1.update(); Face2.update(); update_ui(input); if (Glowing_Line != null) { Glowing_Line.update(); } if (is_help_active) { Help_Window.update(); } }
public void Update() { Info_Window.update(); Face.update(); Type_Icon.update(); foreach (var label in Stat_Labels) { label.update(); } foreach (var stat in Stats) { stat.update(); } foreach (var arrow in Arrows) { arrow.update(); } Item_Description.update(); WTHelp.update(); }
protected override void UpdateMenu(bool active) { SwitchButton.Update(active); base.UpdateMenu(active && this.ready); Face.update(); }