Levels

Today i plan on making at least one more level for the game by extending the current Level class that hopefully has all the functionality i need to relatively easily add more levels.

I have made a start on this so far this morning, however i did not get that far as I am currently unsure whether to create a new level by:

Level2 = new Level2(params);

and then have everything in that class (such as adding sprites) to be done by super.loadSprites(); or to create a new Level inside the Level2 constructor and then work on the basis of this.level.loadSprites();

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s