Moving a constant between files.
This commit is contained in:
parent
1a9d75574b
commit
c5827793ef
7
game.go
7
game.go
@ -7,13 +7,6 @@ import (
|
|||||||
"github.com/gdamore/tcell/v2"
|
"github.com/gdamore/tcell/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
|
||||||
Left = iota
|
|
||||||
Right
|
|
||||||
Up
|
|
||||||
Down
|
|
||||||
)
|
|
||||||
|
|
||||||
func initilize() (tcell.Screen, tcell.Style, error) {
|
func initilize() (tcell.Screen, tcell.Style, error) {
|
||||||
style := tcell.StyleDefault.Background(tcell.ColorReset).Foreground(tcell.ColorReset)
|
style := tcell.StyleDefault.Background(tcell.ColorReset).Foreground(tcell.ColorReset)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user