fix segfault

This commit is contained in:
2025-07-08 09:30:11 -04:00
parent c54089ae19
commit d350044cb2
7 changed files with 126 additions and 69 deletions

View File

@@ -29,7 +29,7 @@ public:
float getX() const noexcept { return x; }
float getY() const noexcept { return y; }
virtual size_t getWidth() const noexcept { return getImage()[0].length(); }
virtual int getWidth() const noexcept { return getImage()[0].length(); }
size_t getId() const noexcept { return entity_id; }
virtual void update() noexcept = 0;