Hi, I am currently making a platformer game and am trying to move my actor from the level he's on to Level 2 when he reaches a certain coordinate. So far, I've succeeded in getting the game to move him to the next level when he reaches a certain location, but as soon as he enters the level 2 map, I get the error "java.lang.ClassCastException: Level2 cannot be cast to GameManager
at Creature.act(Creature.java:91)"
GameManager is where my first level is, and Creature is an actor class that has a subclass (Wolf) that which contains information for the enemies in the game, which obviously, are wolves.
What's going on?

