2023-10-13 18:20:15 +08:00
|
|
|
package component
|
|
|
|
|
|
|
|
import "joylink.club/ecs"
|
|
|
|
|
2023-10-17 10:26:31 +08:00
|
|
|
var MkxTag = ecs.NewTag()
|
2023-10-19 17:09:47 +08:00
|
|
|
|
|
|
|
var MkxInfoType = ecs.NewComponentType[MkxInfo]()
|
|
|
|
|
|
|
|
type MkxInfo struct {
|
2023-10-20 16:12:42 +08:00
|
|
|
PsdId string
|
2023-10-19 17:09:47 +08:00
|
|
|
}
|
|
|
|
|
2023-10-13 18:20:15 +08:00
|
|
|
var MkxCircuitType = ecs.NewComponentType[MkxCircuit]()
|
|
|
|
|
|
|
|
type MkxCircuit struct {
|
2023-10-17 10:26:31 +08:00
|
|
|
PcbList []*ecs.Entry
|
|
|
|
Pcbj *ecs.Entry
|
|
|
|
PobList []*ecs.Entry
|
|
|
|
Pobj *ecs.Entry
|
|
|
|
PabList []*ecs.Entry
|
|
|
|
Pabj *ecs.Entry
|
2023-10-13 18:20:15 +08:00
|
|
|
}
|
|
|
|
|
2023-10-17 10:26:31 +08:00
|
|
|
var MkxBoxType = ecs.NewComponentType[MkxBox]()
|
2023-10-13 18:20:15 +08:00
|
|
|
|
2023-10-17 10:26:31 +08:00
|
|
|
type MkxBox struct {
|
|
|
|
Btn *ecs.Entry
|
2023-10-13 18:20:15 +08:00
|
|
|
MkxplBtn *ecs.Entry
|
|
|
|
}
|
2023-10-19 17:09:47 +08:00
|
|
|
|
|
|
|
var MkxCollectionCircuitType = ecs.NewComponentType[MkxCollectionCircuit]()
|
|
|
|
|
|
|
|
type MkxCollectionCircuit struct {
|
|
|
|
Pcb bool
|
|
|
|
Pob bool
|
|
|
|
Pab bool
|
|
|
|
}
|