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
Allowing rendering to affect game logic can lead to unexpected side-effects when, for example, rendering the game while in a "paused" state.
To make this change, FrameList::draw() cannot change the frame of the animation, nor can it check for the elapsed timer's state, making this an awkward issue.
We should potentially allow Entity::draw() to be non-const, to allow users to do non-const things at their own discretion - thoughts?
The text was updated successfully, but these errors were encountered:
Allowing rendering to affect game logic can lead to unexpected side-effects when, for example, rendering the game while in a "paused" state.
To make this change, FrameList::draw() cannot change the frame of the animation, nor can it check for the elapsed timer's state, making this an awkward issue.
We should potentially allow Entity::draw() to be non-const, to allow users to do non-const things at their own discretion - thoughts?
The text was updated successfully, but these errors were encountered: