Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/dave/src/campaign.h @ 3103

Last change on this file since 3103 was 2860, checked in by dave, 20 years ago

orxonox/branches/dave: das level hat jetzt form angenommen, stand:nach der Convention vom Samstag….

File size: 711 bytes
Line 
1
2#ifndef CAMPAIGN_H
3#define CAMPAIGN_H
4
5#include "stdincl.h"
6#include "story_entity.h"
7
8
9class World;
10
11class Campaign : public StoryEntity {
12
13 public:
14  Campaign ();
15  ~Campaign ();
16
17  StoryEntity* currentEntity;
18
19  virtual Error init();
20  virtual Error start();
21  virtual Error start(Uint32 storyID);
22  virtual Error stop();
23  virtual Error pause();
24  virtual Error resume();
25
26  void addEntity(StoryEntity* se, Uint32 storyID);
27  void addEntity(StoryEntity* se);
28  void removeEntity(Uint32 storyID);
29  void removeEntity(StoryEntity* se);
30 
31  void nextLevel();
32  void previousLevel();
33
34 private:
35  ListTemplate<StoryEntity>* entities;
36  bool running;
37
38  StoryEntity* getStoryEntity(Uint32 storyID);
39};
40
41#endif
Note: See TracBrowser for help on using the repository browser.