draw at different times instead of being everything executed at the same time in the same loop?
Usually it is better to separate rendering from logic, and there are benefits of separating taking input from logic as well. For rendering, you sometimes need to rearrange operations (at least for painter algorithm). For input, you may want to add a layer to do rebinds, simulate input for automated testing, do some advanced things like combos or long button press
Обсуждают сегодня