refactor level, getting to tiles
This commit is contained in:
@ -32,3 +32,11 @@ func ReadKey() (string, int) {
|
||||
|
||||
return pressed, key
|
||||
}
|
||||
|
||||
func ReadKeyCode() int {
|
||||
if !blt.HasInput() {
|
||||
return blt.TK_NONE
|
||||
}
|
||||
return blt.Read()
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user