#pragma once class GameObject { protected: int x, y, w, h; public: GameObject(); GameObject( int x, int y, int width, int height ); void setX( int x ); void setY( int y ); void setWidth( int width ); void setHeight( int height ); int getX() const; int getY() const; int getWidth() const; int getHeight() const; };