package components import ( "joylink.club/ecs" "joylink.club/rtsssimulation/state" ) // 按钮状态组件 var ButtonStateComponent = ecs.NewComponentType[state.ButtonState]() // 按钮操作组件 var ButtonPressOperatingComponent = ecs.NewComponentType[state.ButtonPressOperating]() // 按钮确认组件 var ButtonConfirmOperatingComponent = ecs.NewComponentType[state.ButtonConfirmOperating]()