17 lines
192 B
Go
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
|
|
}
|