New grow and skid sounds from remaxim
[supertux.git] / src / object_factory.hpp
index 0e0d0d3..572a958 100644 (file)
@@ -23,6 +23,8 @@
 #include <string>
 #include <map>
 
+#include "direction.hpp"
+
 namespace lisp { class Lisp; }
 class Vector;
 class GameObject;
@@ -47,7 +49,7 @@ public:
 };
 
 GameObject* create_object(const std::string& name, const lisp::Lisp& reader);
-GameObject* create_object(const std::string& name, const Vector& pos);
+GameObject* create_object(const std::string& name, const Vector& pos, const Direction dir = AUTO);
 
 /** comment from Matze:
  * Yes I know macros are evil, but in this specific case they save