refactor level, getting to tiles

This commit is contained in:
anton.gurov
2019-10-31 14:01:54 +03:00
parent e0bab00a23
commit c372670953
11 changed files with 189 additions and 180 deletions

View File

@ -32,3 +32,11 @@ func ReadKey() (string, int) {
return pressed, key
}
func ReadKeyCode() int {
if !blt.HasInput() {
return blt.TK_NONE
}
return blt.Read()
}