/// <summary> /// Frame update /// </summary> public override void Update() { // Update windows helpWindow.Update(); itemWindow.Update(); targetWindow.Update(); // If item window is active: call update_item if (itemWindow.IsActive) { UpdateItem(); return; } // If target window is active: call update_target else if (targetWindow.IsActive) { UpdateTarget(); return; } }
/// <summary> /// Frame update /// </summary> public override void Update() { // Update windows helpWindow.Update(); statusWindow.Update(); skillWindow.Update(); targetWindow.Update(); // If skill window is active: call update_skill if (skillWindow.IsActive) { UpdateSkill(); return; } // If skill target is active: call update_target else if (targetWindow.IsActive) { UpdateTarget(); return; } }