Compare commits
2 Commits
0e68ea4e51
...
3015a36984
Author | SHA1 | Date | |
---|---|---|---|
3015a36984 | |||
7fc342e061 |
@ -203,6 +203,8 @@ class TetrArcade(TetrisLogic, arcade.Window):
|
||||
self.init_height = int(self.conf["WINDOW"]["height"])
|
||||
self.init_fullscreen = self.conf["WINDOW"].getboolean("fullscreen")
|
||||
|
||||
for action, key in self.conf["KEYBOARD"].items():
|
||||
self.conf["KEYBOARD"][action] = key.upper()
|
||||
self.key_map = {
|
||||
State.STARTING: {
|
||||
getattr(arcade.key, self.conf["KEYBOARD"]["start"]): self.new_game,
|
||||
|
Loading…
x
Reference in New Issue
Block a user