airobot/lib/action.go
2022-12-12 18:33:48 +08:00

17 lines
192 B
Go

package lib
type IAction interface {
Info() SceneInfo
}
type Action struct {
Id string
Name string
Desc string
}
func NewAction(robot *Robot) *Action {
a := &Action{}
return a
}