X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FTile.h;h=88db623ed0cdb5e8f24e2949f924ac3dc697b06c;hb=c055b357c50dd871b49c38191a9d867ff42ea420;hp=d21de56d25fe2afbdacdc8a4735a06550dd8aaf1;hpb=59c4aea0762cbc5f1bf74c5b1b35629408fb92af;p=l2e.git diff --git a/src/map/Tile.h b/src/map/Tile.h index d21de56..88db623 100644 --- a/src/map/Tile.h +++ b/src/map/Tile.h @@ -37,8 +37,8 @@ public: // temporary setters public: - void SetOffset(const geometry::Vector &o) { offset = o; } - void SetFlags(Uint32 f) { flags = f; } + Tile &SetOffset(const geometry::Vector &o) { offset = o; return *this; } + Tile &SetFlags(Uint32 f) { flags = f; return *this; } private: geometry::Vector offset;