Hi all,

I am working on a small game.

I made a class Game with the overall methods.
I made two classes GameType1 and GameType2 (extends Game) with more specific methods to define two different versions of this game.
Then I made several classes Level1 and Level2 (extends GameType1) as well as Level3 (extends GameType2).

In the class Level1 I define a few levelspecific functions and things like the used grid, f.i.
private var grid:Object = {xnr:20, ynr:20};

Now what I want to do is use these values in methods defined in class Game, f.i. in method
code:
class Game
{
private function initGame()
{
makeMyGame(grid.xnr, grid.ynr);
}
{
}



Anybody got a suggestion how to use these data from class Level1 in class Game?