Fixed all my pointers
This commit is contained in:
@@ -13,14 +13,14 @@ namespace Dawn {
|
||||
|
||||
class SceneItemComponent {
|
||||
public:
|
||||
std::weak_ptr<SceneItem> item;
|
||||
SceneItem &item;
|
||||
|
||||
SceneItemComponent(std::weak_ptr<SceneItem> item);
|
||||
SceneItemComponent(SceneItem &item);
|
||||
|
||||
virtual void start() = 0;
|
||||
|
||||
std::shared_ptr<Scene> getScene();
|
||||
std::shared_ptr<DawnGame> getGame();
|
||||
Scene & getScene();
|
||||
DawnGame & getGame();
|
||||
|
||||
virtual ~SceneItemComponent();
|
||||
};
|
||||
|
Reference in New Issue
Block a user