Skip to content

Commit

Permalink
Added log to default systems, possibly temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
Arroganz committed Jul 28, 2018
1 parent 85ef1dd commit 33a63c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projects/fender/src/Fender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Created by arroganz on 11/26/17.
//

#include <Systems/Log.hpp>
# include "fender.hpp"
# include "sigCatch.hpp"
# include "goToBinDir.hpp"
Expand Down Expand Up @@ -30,13 +31,13 @@ fender::Fender::Fender(std::string const &arg0) {

void fender::Fender::loadSystemDir(std::string const &path)
{
events->send<std::string>("Loading systems in " + path);
events->send("Loading systems in " + path);
}

int fender::Fender::start(std::string const &configFilePath) {
// Here I should probably load the dir with all modules
addSystem<systems::Log>();
this->loadSystemDir(configFilePath);
// addSystem<systems::Log>();
// entityManager->run(); // I Want log to be the first thing to exist so that any string event can be tracked.
// addSystem<systems::Fysics>();
// entityManager->run(); // This way, the output is more coherent
Expand Down

0 comments on commit 33a63c5

Please sign in to comment.