Hi, I'm relatively new to Greenfoot and java so this may be very simple to fix.
I'm trying to compare the Y values of different classes so that if a player one counter lands on the same 'ladder space' as a player two counter, the player two counter moves back to the bottom 'rung'.
When I tried using normal dot notation, it came up with an error about how the non-static method getY() could not be referenced from a static context.
How do I solve my problem?

