last_light/game/state/quitState.go

22 lines
283 B
Go
Raw Normal View History

2024-04-24 17:11:33 +03:00
package state
import (
"github.com/gdamore/tcell/v2"
"github.com/gdamore/tcell/v2/views"
)
type QuitState struct {
}
func (q *QuitState) OnInput(e *tcell.EventKey) {
}
func (q *QuitState) OnTick(dt int64) GameState {
return q
}
func (q *QuitState) OnDraw(c views.View) {
}