public void Draw(GameTime time) { Cursor?.AsXnaGameLoop()?.Draw(time); }
public void Update(GameTime time) { UpdatePosition(); buttons.ForEach(b => b.Update(time)); Cursor?.AsXnaGameLoop()?.Update(time); }