Replaced Ref and RefCounter with std::shared_ptr<>
[supertux.git] / src / supertux / game_object.hpp
index 180630e..f8bc802 100644 (file)
 #ifndef HEADER_SUPERTUX_SUPERTUX_GAME_OBJECT_HPP
 #define HEADER_SUPERTUX_SUPERTUX_GAME_OBJECT_HPP
 
+#include <memory>
 #include <string>
 
-#include "util/refcounter.hpp"
-
 class DrawingContext;
+class GameObject;
 class ObjectRemoveListener;
 
 /**
@@ -36,7 +36,7 @@ class ObjectRemoveListener;
  *  - Providing a safe way to remove the object by calling the remove_me
  *    functions.
  */
-class GameObject : public RefCounter
+class GameObject
 {
 public:
   GameObject();