Revert "Indentation style changed to Horstmann"

This reverts commit f2259f712d.

Conflicts:

	src/GameWorld.cpp
	src/Systems/PhysicsSystem.cpp
This commit is contained in:
2014-04-12 01:48:15 +02:00
parent d7e65ff118
commit 3470a80f40
61 changed files with 697 additions and 354 deletions
+8 -4
View File
@@ -11,16 +11,20 @@ class Factory
{
public:
void Register(std::string name, std::function<T(void)> factoryFunction)
{ m_FactoryFunctions[name] = factoryFunction;
{
m_FactoryFunctions[name] = factoryFunction;
}
T Create(std::string name)
{ auto it = m_FactoryFunctions.find(name);
{
auto it = m_FactoryFunctions.find(name);
if (it != m_FactoryFunctions.end())
{ return it->second();
{
return it->second();
}
else
{ return nullptr;
{
return nullptr;
}
}