cppcheck
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "game/engendro.hpp"
|
||||
#include "game/info.hpp"
|
||||
#include "game/prota.hpp"
|
||||
@@ -10,7 +12,7 @@ class Momia : public Sprite {
|
||||
Momia(JD8_Surface gfx, bool dimoni, Uint16 x, Uint16 y, Prota* sam);
|
||||
|
||||
void clear();
|
||||
void draw();
|
||||
void draw() override;
|
||||
bool update();
|
||||
void insertar(Momia* momia);
|
||||
|
||||
@@ -19,5 +21,5 @@ class Momia : public Sprite {
|
||||
|
||||
protected:
|
||||
Prota* sam;
|
||||
Engendro* engendro;
|
||||
std::unique_ptr<Engendro> engendro;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user