X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject_factory.hpp;h=40445d322ee6f6abd56d782e14989a524195a3f1;hb=1a36ad149a4ee89a601d523878d168ed3b68ae62;hp=0e0d0d3502fd9de24faaf2b3389e1727a707fbd3;hpb=fea3446f05e1e7673607b835c269d3e8d1929ab3;p=supertux.git diff --git a/src/object_factory.hpp b/src/object_factory.hpp index 0e0d0d350..40445d322 100644 --- a/src/object_factory.hpp +++ b/src/object_factory.hpp @@ -23,6 +23,8 @@ #include #include +#include "direction.hpp" + namespace lisp { class Lisp; } class Vector; class GameObject; @@ -48,6 +50,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_badguy_object(const std::string& name, const Vector& pos, Direction dir = LEFT); /** comment from Matze: * Yes I know macros are evil, but in this specific case they save