* Some more tweaking for combat.
* This still doesn't work, but it's closer.
This commit is contained in:
jean.chalard
2009-09-03 02:16:53 +00:00
parent a7bef9142c
commit 7214248494
15 changed files with 145 additions and 203 deletions

View File

@@ -40,7 +40,7 @@ class Damage: public Interruptible {
};
class DamageStack :public GuiLayer, public Interruptible{
class DamageStack : public GuiLayer, public Interruptible{
protected:
int currentState;
GameObserver* game;
@@ -49,20 +49,7 @@ class DamageStack :public GuiLayer, public Interruptible{
int resolve();
void Render();
virtual ostream& toString(ostream& out) const;
DamageStack(GameObserver* game);
DamageStack();
};
class StableDamageStack : public Interruptible {
protected:
vector<Damage*> damage;
public:
int resolve();
void Render();
void Add(Damage*);
virtual ostream& toString(ostream& out) const;
};
#endif