Commit f676fc2
committed
Recoded the SceneManage
The Scene Manager no longer tries to maintain an 'active' list and instead just iterates the scenes in order, skipping those that aren't awake. Scene array changing events like moveUp etc are queued if the list is being processed and the ScenePlugin has been vastly updated to take care of this. You can now happily move scenes around the list, block scene input, consume input events, switch scenes around and more.1 parent 2b4d6f1 commit f676fc2
5 files changed
Lines changed: 586 additions & 605 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | 229 | | |
233 | 230 | | |
234 | 231 | | |
| |||
239 | 236 | | |
240 | 237 | | |
241 | 238 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
| 239 | + | |
246 | 240 | | |
247 | 241 | | |
248 | 242 | | |
249 | | - | |
| 243 | + | |
250 | 244 | | |
251 | 245 | | |
252 | 246 | | |
253 | | - | |
| 247 | + | |
254 | 248 | | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
| 249 | + | |
260 | 250 | | |
261 | 251 | | |
262 | 252 | | |
263 | | - | |
| 253 | + | |
264 | 254 | | |
265 | 255 | | |
266 | 256 | | |
| |||
0 commit comments