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