Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //simple_world
- #ifndef EXECUTION_SIMPLE_WORLD_H
- #define EXECUTION_SIMPLE_WORLD_H
- #include "execution/interfaces/world.h"
- #include "execution/interfaces/cell.h"
- namespace execution {
- class SimpleWorld : WorldInterface {
- public:
- virtual SimpleWorld(const char *name) {
- name_ = name;
- }
- virtual
- virtual const char *GetName() {
- return name_;
- }
- private:
- const char *name_;
- };
- class SimpleCellFactory : public CellFactoryInterface {
- ~SimpleCellFactory() override = default;
- };
- }
- #endif //EXECUTION_SIMPLE_WORLD_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement