steel-lord/action.go
2019-06-27 20:29:15 -07:00

14 lines
255 B
Go

package main
// Action is our base interface for game actions.
type Action interface{}
// ActionMove is our action for moving something.
type ActionMove struct {
X int
Y int
}
// ActionQuit is our action to quit the program.
type ActionQuit struct{}