For my next Project I use this Scrollworld:
http://www.greenfootgallery.org/scenarios/3040
now I've got an Object that should move there. For that I wanted to use this Method:
but this Method only work, if I give her an other name...
for example:
and the rest of the Method is exactly the same...
What's the reason for that?
Are there some names of Methods you're not allowed to use in Greenfoot?
1 2 3 4 | public void move( double WalkingSpeed) { [...] } |
1 2 3 4 | public void ChangePlace( double WalkingSpeed) { [...] } |