Commit de vesprà tirada a la brossa
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory> // for shared_ptr
|
||||
#include "animated_sprite.h" // for AnimatedSprite
|
||||
#include <memory> // for shared_ptr
|
||||
#include "animated_sprite.h" // for SpriteAnimated
|
||||
class Texture;
|
||||
|
||||
// Clase SmartSprite
|
||||
// Clase SpriteSmart
|
||||
class SmartSprite : public AnimatedSprite
|
||||
{
|
||||
private:
|
||||
@@ -16,12 +16,12 @@ private:
|
||||
bool finished_; // Indica si ya ha terminado
|
||||
bool enabled_; // Indica si el objeto está habilitado
|
||||
|
||||
// Comprueba el movimiento
|
||||
void checkMove();
|
||||
|
||||
// Comprueba si ha terminado
|
||||
void checkFinished();
|
||||
|
||||
// Comprueba el movimiento
|
||||
void checkMove();
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
explicit SmartSprite(std::shared_ptr<Texture> texture);
|
||||
|
||||
Reference in New Issue
Block a user