]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/Simulation.hpp
better record logging
[blobs.git] / src / world / Simulation.hpp
index 5df595fb26d0eab0c3d0b799a93f333b4bcf6270..50f06b4ca693456505662659d1aae938e85e932e 100644 (file)
@@ -5,6 +5,7 @@
 #include "Set.hpp"
 #include "../app/Assets.hpp"
 
+#include <iosfwd>
 #include <set>
 #include <vector>
 
@@ -64,6 +65,9 @@ public:
 
        const std::vector<Record> &Records() const noexcept { return records; }
        void CheckRecords(creature::Creature &) noexcept;
+       void LogRecord(const Record &rold, const Record &rnew);
+
+       std::ostream &Log();
 
 private:
        Body &root;