17 lines
186 B
Go
17 lines
186 B
Go
package lib
|
|
|
|
type IAction interface {
|
|
ShowInfo() CallerInfo
|
|
}
|
|
|
|
type Action struct {
|
|
// scene *scene
|
|
Key string
|
|
Desc string
|
|
}
|
|
|
|
func NewAction() *Action {
|
|
a := &Action{}
|
|
return a
|
|
}
|