sdl renderer working as before
This commit is contained in:
parent
ef3f64bfa2
commit
6cfa795463
5 changed files with 10 additions and 12 deletions
|
|
@ -76,8 +76,6 @@ class MainScreen(Screen):
|
|||
match event:
|
||||
case tcod.event.KeyDown(sym=sym) if sym in ACTION_KEYS:
|
||||
_handle_action(player)
|
||||
case tcod.event.Quit():
|
||||
raise SystemExit()
|
||||
case tcod.event.KeyDown(sym=sym) if sym in DIRECTION_KEYS:
|
||||
dir = DIRECTION_KEYS[sym]
|
||||
return _handle_movement(player, map, dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue