steel-lord/action.go

14 lines
255 B
Go
Raw Normal View History

2019-06-27 20:29:15 -07:00
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{}