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