projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced Ref and RefCounter with std::shared_ptr<>
[supertux.git]
/
src
/
supertux
/
game_object.hpp
diff --git
a/src/supertux/game_object.hpp
b/src/supertux/game_object.hpp
index
180630e
..
f8bc802
100644
(file)
--- a/
src/supertux/game_object.hpp
+++ b/
src/supertux/game_object.hpp
@@
-17,11
+17,11
@@
#ifndef HEADER_SUPERTUX_SUPERTUX_GAME_OBJECT_HPP
#define HEADER_SUPERTUX_SUPERTUX_GAME_OBJECT_HPP
#ifndef HEADER_SUPERTUX_SUPERTUX_GAME_OBJECT_HPP
#define HEADER_SUPERTUX_SUPERTUX_GAME_OBJECT_HPP
+#include <memory>
#include <string>
#include <string>
-#include "util/refcounter.hpp"
-
class DrawingContext;
class DrawingContext;
+class GameObject;
class ObjectRemoveListener;
/**
class ObjectRemoveListener;
/**
@@
-36,7
+36,7
@@
class ObjectRemoveListener;
* - Providing a safe way to remove the object by calling the remove_me
* functions.
*/
* - Providing a safe way to remove the object by calling the remove_me
* functions.
*/
-class GameObject
: public RefCounter
+class GameObject
{
public:
GameObject();
{
public:
GameObject();