1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00
Files
fallingshrimp 492373a48e feat: 添加角色选择系统及相关功能
新增角色卡片组件和角色选择逻辑
实现角色卡片动画效果和交互功能
添加初始角色数据配置
修改启动面板以支持角色选择
更新主题样式和UI布局
2026-05-04 19:52:04 +08:00

14 lines
217 B
GDScript

class_name Watcher
signal changed()
var currentState = null
func _init(initialState):
currentState = initialState
func setState(newState):
if newState != currentState:
currentState = newState
changed.emit()