Refactored some code from InWorld into methods in CharacterData

This commit is contained in:
Kayne Ruse
2014-05-28 21:07:11 +10:00
parent 519b8a1e36
commit 6428b02d85
6 changed files with 96 additions and 17 deletions
+7
View File
@@ -59,6 +59,13 @@ struct CharacterData {
//TODO: buffs
//TODO: debuffs
//methods
void Update(double delta);
#ifdef GRAPHICS
void DrawTo(SDL_Surface* const, int camX, int camY);
void CorrectSprite();
#endif
//active gameplay members
//NOTE: these are lost when unloaded
#ifdef GRAPHICS