This repository has been archived on 2026-05-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

22 lines
419 B
C
Raw Permalink Normal View History

#ifndef __HUD_H__
#define __HUD_H__
#include "Character.h"
class HUDDisplay : public Display2D
{
protected:
Player *target;
Actor *livesActor;
std::string text;
public:
HUDDisplay();
SDL_Surface *nextFrame();
void setText(std::string text);
void setTarget(Player *tgt);
void setLivesActor(Actor *actor);
void update(int logicOnly = 0);
};
#endif // __HUD_H__