X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fdirection.hpp;h=f4df937ead972562ddea17cb3a4fd61d40c7118b;hb=17384c690dbb1a212fd92c5f2237558ab973fd29;hp=c7bb2e1bcbb1fc58ce4064e72419f03b1b27fee0;hpb=7c2f8e23f9accd00bd9ee2319da8ab8aa341c7cf;p=supertux.git diff --git a/src/direction.hpp b/src/direction.hpp index c7bb2e1bc..f4df937ea 100644 --- a/src/direction.hpp +++ b/src/direction.hpp @@ -20,6 +20,10 @@ #ifndef SUPERTUX_DIRECTION_H #define SUPERTUX_DIRECTION_H -enum Direction { AUTO, LEFT, RIGHT }; +#include + +enum Direction { AUTO, LEFT, RIGHT, UP, DOWN }; + +std::ostream& operator<<(std::ostream& o, const Direction& dir); #endif