mirror of
https://github.com/mvvasilev/last_light.git
synced 2025-04-19 12:49:52 +03:00
21 lines
283 B
Go
21 lines
283 B
Go
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) {
|
|
|
|
}
|