Cleande up the deserialization code

This commit is contained in:
Xawotihs
2011-10-02 14:11:30 +00:00
parent 7e1566fe77
commit 86131f7ea0
7 changed files with 22 additions and 220 deletions

View File

@@ -41,6 +41,8 @@ public:
virtual JQuadPtr getIcon(){return JQuadPtr();}
bool parseLine(const string& s);
friend ostream& operator<<(ostream& out, const Damageable& p);
};
class Damage: public Interruptible
@@ -71,8 +73,4 @@ class DamageStack : public GuiLayer, public Interruptible
DamageStack(GameObserver *observer);
};
ostream& operator<<(ostream& out, const Damageable& p);
istream& operator>>(istream& in, Damageable& p);
#endif