CoilBrew / sidescroller

0 stars 0 forks source link

Make left and right constants #10

Closed chrisgrounds closed 6 years ago

chrisgrounds commented 6 years ago

Instead of if direction == 'a', it would be better to write if direction == LEFT.

Just need to define LEFT and RIGHT.

README1ST commented 6 years ago

I've done this by passing variables from main.py through constructor methods.