iphone - Universal Method for Levels -
is there way have method stores basic needs of level in game? ie - want every level have health bar, pause button, collision detection, etc. want way have of stuff every level of game needs , have easy way call @ once.
edit - also, way #import , @class need different level classes , scenes. how can this? ie - collision detection in different class, , want call in levels.
info - i'm developing cocos2d iphone
make base class level th stuff. inherit game levels base keep functionality.
to import create header everything.h
. this:
#import "physics" #import "objects" #import "graphics" ...
then import everything.h
Comments
Post a Comment