Now builds.
* Cut out all extraneous includes.
This commit is contained in:
@@ -43,7 +43,12 @@ public:
|
||||
|
||||
void reset() { iter = commandList.commands.begin(); }
|
||||
bool hasNext() const { return iter != commandList.commands.end(); }
|
||||
Cursor next() { return Cursor(commandList, ++iter); }
|
||||
Cursor next() { return ++(*this); }
|
||||
|
||||
Cursor& operator++() {
|
||||
++iter;
|
||||
return *this;
|
||||
}
|
||||
|
||||
private:
|
||||
Cursor(
|
||||
|
||||
@@ -13,8 +13,10 @@ class Scene
|
||||
public:
|
||||
using Id = uint32_t;
|
||||
|
||||
Scene();
|
||||
~Scene();
|
||||
Scene() :
|
||||
cursor(commands)
|
||||
{}
|
||||
~Scene() = default;
|
||||
|
||||
bool hasMentalEntity(const MentalEntity::Id menty) const;
|
||||
MentalEntity::Id addMentalEntity(const MentalEntity& menty);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef SIMULATOR_H
|
||||
#define SIMULATOR_H
|
||||
|
||||
#include <config.h>
|
||||
#include <simulator/scene.h>
|
||||
|
||||
namespace simulator {
|
||||
|
||||
Reference in New Issue
Block a user