-
Notifications
You must be signed in to change notification settings - Fork 151
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
Hauteur maximale dans la classe HeightTool #65
Comments
Pas faux, il faudra faire de même pour le min_height ^^ Attention, le projet est cosmopolite et l'anglais est de mise ! |
Terrain height can definitly be under 0. |
I've seen it just after posting and made the changes |
Great ☺you may create a pull request, or paste the code change here and Thanks for the contribution! Le ven. 15 mai 2015 14:10, Code Campus notifications@github.com a écrit :
|
here is the code
|
N'ayant vu aucune sécurité sur la hauteur maximale du terrain avec l'outil height, j'en ai rajouté une.
Ma méthode est de définir une constante nommée MAX_HEIGHT et de tester si la hauteur est supérieure a cette constante, si oui, alors elle y est égale.
EDIT : personnellement, j'ai mis MAX_HEIGHT a 50
The text was updated successfully, but these errors were encountered: