diff options
Diffstat (limited to 'engine/flatsurface.cpp')
-rw-r--r-- | engine/flatsurface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/flatsurface.cpp b/engine/flatsurface.cpp index 1970b71..7b1ee5a 100644 --- a/engine/flatsurface.cpp +++ b/engine/flatsurface.cpp @@ -6,7 +6,7 @@ using namespace std; FlatSurface::FlatSurface(const char *filename, Uint32 format, SDL_Surface *parent) - : FlatObject(), parent(parent), hide(false) + : flat::core::object(), parent(parent), hide(false) { setID(filename); @@ -35,7 +35,7 @@ FlatSurface::FlatSurface(const char *filename, Uint32 format, SDL_Surface *paren FlatSurface::FlatSurface(SDL_Surface *surface, SDL_Surface *parent) - : FlatObject(), parent(parent), hide(false) + : flat::core::object(), parent(parent), hide(false) { this->surface = new SDL_Surface(*surface); @@ -56,7 +56,7 @@ FlatSurface::FlatSurface(SDL_Surface *surface, SDL_Surface *parent) FlatSurface::FlatSurface(const FlatSurface &sprite) - : FlatObject(sprite), parent(sprite.parent), + : flat::core::object(sprite), parent(sprite.parent), hide(sprite.hide) { offset = new SDL_Rect(*sprite.offset); |