public override void Update(Vector2i mousePosition) { if (_menuUI.Contains(mousePosition.X, mousePosition.Y)) { _menuUI.OnHover(mousePosition.X, mousePosition.Y); } else { _menuUI.OnIdle(mousePosition.X, mousePosition.Y); } }
public override void Update(Vector2i mousePosition) { if (_menuUI.Contains(mousePosition.X, mousePosition.Y)) { _menuUI.OnHover(mousePosition.X, mousePosition.Y); } else { _menuUI.OnIdle(mousePosition.X, mousePosition.Y); } }