Advertisement
Guest User

city.h

a guest
Jul 2nd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef CITY_H
  2. #define CITY_H
  3.  
  4. #include <QString>
  5. #include <QGraphicsScene>
  6.  
  7. class City
  8. {
  9. public:
  10.     City(QString name, int x, int y);
  11.     ~City();
  12.     void draw(QGraphicsScene &scene);
  13.  
  14. private:
  15.     QString name;
  16.     int x;
  17.     int y;
  18. };
  19.  
  20. #endif // CITY_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement