You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been meaning to move the whole image/texture/sprite loading out of all the entities.
All the entities are individually loading+defining their own texture and sprite. It's not efficient, and isn't hard to optimize. Just let the Entity class deal with the common members like texture and sprite. The image, though, may have to be brought out to a different service class.
The text was updated successfully, but these errors were encountered:
I've been meaning to move the whole image/texture/sprite loading out of all the entities.
All the entities are individually loading+defining their own texture and sprite. It's not efficient, and isn't hard to optimize. Just let the Entity class deal with the common members like texture and sprite. The image, though, may have to be brought out to a different service class.
The text was updated successfully, but these errors were encountered: