Okay... So I guess I must still not get references entirely, since I'm having this problem. When I do the following code:
I get the error "incompatible types" and it doesn't like (PlayerPaddle.class).
I find this strange since this exact code with a different class and variable names works...
1 2 3 4 5 | PlayerPaddle collidedBlue = getOneIntersectingObject(PlayerPaddle. class ); if (collidedBlue != null ) { setRotation( 0 ); } |