22 lines
229 B
Go
22 lines
229 B
Go
package mt
|
|
|
|
import (
|
|
"f5"
|
|
"mtb"
|
|
)
|
|
|
|
type Robot struct {
|
|
mtb.Config
|
|
}
|
|
|
|
type RobotTable struct {
|
|
f5.IdMetaTable[Robot]
|
|
}
|
|
|
|
func (this *Robot) Init1() {
|
|
}
|
|
|
|
func (this *RobotTable) RandRobot() *Robot {
|
|
return this.RandElement()
|
|
}
|