More moving stuff around

git-svn-id: https://aklabs.dyndns.org/svn/aklabs/trunk/games/spaceshooter@52 eb184899-6090-47d4-a65b-558f62f6ea1c
This commit is contained in:
andrew
2010-07-29 01:46:34 +00:00
commit 6a0f35c88a
110 changed files with 24350 additions and 0 deletions

21
cpp/HUD.h Executable file
View File

@@ -0,0 +1,21 @@
#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__