In the app class, the window id needs to be part of the window data.
Because the window id is passed to the user and the id represents the direct index into the window array, no window can be erased out of that array. Otherwise the following windows would not match the window_ids the user has acquired.
So if the window id goes into the window data, it can be set to any number. The windows can not be accessed directly then anymore.
In the app class, the window id needs to be part of the window data.
Because the window id is passed to the user and the id represents the direct index into the window array, no window can be erased out of that array. Otherwise the following windows would not match the
window_id
s the user has acquired.So if the window id goes into the window data, it can be set to any number. The windows can not be accessed directly then anymore.