shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include "Model.h"
|
||||
|
||||
class LavaSlimeModel : public Model
|
||||
class LavaSlimeModel : public Model
|
||||
{
|
||||
static const int BODYCUBESLENGTH=8;
|
||||
ModelPart *bodyCubes[BODYCUBESLENGTH];
|
||||
@@ -10,6 +10,6 @@ class LavaSlimeModel : public Model
|
||||
public:
|
||||
LavaSlimeModel();
|
||||
int getModelVersion();
|
||||
virtual void prepareMobModel(shared_ptr<Mob> mob, float time, float r, float a);
|
||||
virtual void render(shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled);
|
||||
virtual void prepareMobModel(std::shared_ptr<Mob> mob, float time, float r, float a);
|
||||
virtual void render(std::shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user