AnnLevel.hpp File Reference

Pure virtual class that represent a level AnnLevelManager class only handle object that derive from this class You need to overload at least the load() and runLogic() methods to create a level. To simplify level declaration, you can use the keyword "LEVEL" to mark inheritance and constructLevel() to call the constructor of the abstract class. This class also provide a 'simple, stupid' random string generator to set IDs to object automatically. More...

#include "AnnTypes.h"
#include "AnnAbstractMovable.hpp"
Include dependency graph for AnnLevel.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Annwvyn::AnnLevel
 Base class for all Levels. Is abstract. More...
 

Namespaces

 Annwvyn
 Namespace containing the totality of Annwvyn components.
 

Macros

#define LEVEL
 
#define constructLevel()   AnnLevel()
 

Typedefs

using Annwvyn::AnnLevelPtr = std::shared_ptr< AnnLevel >
 

Detailed Description

Pure virtual class that represent a level AnnLevelManager class only handle object that derive from this class You need to overload at least the load() and runLogic() methods to create a level. To simplify level declaration, you can use the keyword "LEVEL" to mark inheritance and constructLevel() to call the constructor of the abstract class. This class also provide a 'simple, stupid' random string generator to set IDs to object automatically.

Author
A. Brainville (Ybalrid)

Definition in file AnnLevel.hpp.

Macro Definition Documentation

◆ constructLevel

#define constructLevel ( )    AnnLevel()

Definition at line 19 of file AnnLevel.hpp.

◆ LEVEL

#define LEVEL
Value:
public \
Annwvyn::AnnLevel

Definition at line 16 of file AnnLevel.hpp.