Even better API, but still not the best organization. This will let me implement both sides, then I can pull it out and try to generalize it into a few guecs components.

This commit is contained in:
Zed A. Shaw 2025-06-08 23:55:59 -04:00
parent 3e0adf0c22
commit 4b0d76bbcc
7 changed files with 63 additions and 22 deletions

View file

@ -21,8 +21,7 @@ namespace guecs {
}
void GrabSource::grab(sf::RenderWindow& window) {
window.setMouseCursorVisible(false);
void GrabSource::grab() {
sprite->setOrigin({128, 128});
}