feat: 添加了 ClientWindow
的 get_sub_screen
方法
这次提交添加了 `ClientWindow` 的 `get_sub_screen` 方法,用于获取 `BaseScreen` 实例或在不同 sub_screen 之间传递数据/设置事件调度器。这个改动将增强应用程序的功能和灵活性。
This commit is contained in:
parent
44f64933a2
commit
809bc376ea
@ -29,6 +29,10 @@
|
||||
- `ClientWindow` 的 `remove_sub_scren` 现在会调用 `on_clean` 方法
|
||||
- 你可以在这个方法里面清理一些东西
|
||||
- 比如说, 你可以在这个方法里面清理一些 `Sprite` 之类的东西
|
||||
- `ClientWindow` 添加了 `get_sub_screen` 方法
|
||||
- 用来获取 `BaseScreen` 实例
|
||||
- 你可以通过这个方法来获取你添加的 `BaseScreen` 实例
|
||||
- 或者在不同 sub_screen 之间传递数据/设置事件调度器
|
||||
|
||||
### Fix
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user