Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Issues with type hints for any method that involves positions #168

Open
FredNoonienSingh opened this issue Feb 9, 2023 · 0 comments
Open

Comments

@FredNoonienSingh
Copy link

FredNoonienSingh commented Feb 9, 2023

According to Typechecks objects of the class Pointlike can't be used as positions, while in realty it is possible and encouraged by the documentation.

for example:
.towards() returns a pointlike - BotAi.build() expects either a Point2 or a Unit for "near".

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

No branches or pull requests

1 participant