Made some simple game at work and used the fallowing code:
Player player = getOneIntersectingObject(player.class);
Which compiles and executes just fine, at work. Home, however, it won't compile it says that
incopatible types: Greenfoot.Actor cannot be converted to Player.
How is this posible? Player is a child of Actor. At work Greenfoot
is 3.01
and at home 3.02
, is that the problem? Thanks