X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject_factory.hpp;h=40445d322ee6f6abd56d782e14989a524195a3f1;hb=43db9a6c44b6ee544e7694d1bb234ba559b0849c;hp=0e0d0d3502fd9de24faaf2b3389e1727a707fbd3;hpb=1c9e52d43a80d1f3ec5aadbb04ef1e14bb775acb;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