Compare commits

..

1 Commits

Author SHA1 Message Date
hgc
353bf54536 fix issue #1 2020-11-16 21:55:44 +10:30
2 changed files with 3 additions and 0 deletions

BIN
cigarette.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

@ -151,6 +151,9 @@ class Sniffpest(arcade.Window):
arcade.draw_text(f'Score: {self.score}', 10, 10, arcade.color.WHITE)
# cigarette
arcade.draw_texture_rectangle(550 - 50, 750 - 50, 100, 100, arcade.load_texture('cigarette.png'), 0, 255)
def on_key_press(self, key, modifier):
""" handle key presses """
# Q or Esc to quit