Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/network/src/story_entities/simple_game_menu.h @ 6501

Last change on this file since 6501 was 6501, checked in by patrick, 19 years ago

network: prepearing the game menu

File size: 994 bytes
Line 
1/*!
2 * @file simple_game_menu.h
3 *  a StoryEntity that contains a simple game menu
4 */
5
6#ifndef _SIMPLE_GAME_MENU_H
7#define _SIMPLE_GAME_MENU_H
8
9
10#include "story_entity.h"
11#include "data_tank.h"
12
13
14class SimpleGameMenuData;
15
16
17//! a simple game menu based on a story entity
18/**
19 * This is a simple menu, that is based on the StoryEntity. Therefore this menu is absolutly
20 * loadable and is exchangeable very easely :D
21 */
22class SimpleGameMenu : public StoryEntity
23{
24
25  public:
26    SimpleGameMenu();
27    virtual ~SimpleGameMenu();
28
29
30    /* initialisation and loading */
31    virtual ErrorMessage init();
32    virtual ErrorMessage loadData();
33    virtual ErrorMessage unloadData();
34
35    /* running, stopping and pausing */
36    virtual bool start();
37    virtual bool stop();
38    virtual bool pause() {}
39    virtual bool resume() {}
40    virtual void run();
41
42
43  private:
44    SimpleGameMenuData*      simpleGameMenuData;
45
46};
47
48class SimpleGameMenuData : public DataTank
49{
50
51};
52
53
54#endif /* _GAME_WORLD_H */
Note: See TracBrowser for help on using the repository browser.