Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

startPosition limited to only 4 cardinal directions? #4

Open
JackOE3 opened this issue May 16, 2022 · 0 comments
Open

startPosition limited to only 4 cardinal directions? #4

JackOE3 opened this issue May 16, 2022 · 0 comments

Comments

@JackOE3
Copy link

JackOE3 commented May 16, 2022

It'd be more flexible if you could just enter the desired amount of degrees into setInitialPos() instead of only 'South', 'North', 'East', 'West'.
Maybe add another elif into that method like this:
elif type(pos)==int: self.startPosition = pos * 16

Asking because I'm looking to make smth similar to this:
https://www.racedepartment.com/attachments/preview-png.523414/

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant