![]() |
00001 // 00002 // NewGameLayer.h 00003 // Author: Thomas Taylor 00004 // 00005 // The 'new game' layer 00006 // 00007 // 16/12/2011: Created class 00008 // 00009 00010 #import "cocos2d.h" 00011 #import "Constants.h" 00012 #import "GameManager.h" 00013 #import "LemmingManager.h" 00014 #import "Utils.h" 00015 00016 @interface NewGameLayer : CCLayer 00017 00018 { 00019 // HACK: screenshot of the screen - for nice transition anim 00020 CCSprite* facade; 00021 00022 int lemmingCount; 00023 MachineLearningType learningType; 00024 int learningEpisodes; 00025 BOOL sharedKnowledge; 00026 BOOL debugMode; 00027 00028 // components 00029 00030 UISlider* lemmingCountSlider; 00031 UISlider* learningEpisodesSlider; 00032 UISwitch* sharedKnowledgeSwitch; 00033 UISwitch* debugSwitch; 00034 UISegmentedControl* learningTypeControl; 00035 00036 CCMenu *menuButtons; 00037 00038 CCLabelBMFont* lemmingCountLabel; 00039 CCLabelBMFont* learningEpisodesLabel; 00040 CCLabelBMFont* sharedKnowledgeLabel; 00041 CCLabelBMFont* debugModeLabel; 00042 } 00043 00044 @end