Accessing a parent's function

Hello,

I’m creating a platform game. I have the Document Class GameControl, which makes the map and the players, and ‘treasures’ and jumpers. I have a Guy class which moves the Guy around the stage and checks for collisions. I want to open a door, when I catch a certain treasure. I want the Guy class to call the GameControl class’ function remove, which removes the door. However,

GameControl.remove();

gives me the next error:

1061: Call to a possibly undefined method remove through a reference with static type Class.

I’m clueless as how to solve this, can anyone give me any hints/tips? Thanks in advance.

Maqrkk