Partial solution for collision problems

This commit is contained in:
Kayne Ruse
2015-01-21 03:06:35 +11:00
parent 65f23bbd1a
commit f4e4728ce3
5 changed files with 82 additions and 66 deletions
+2
View File
@@ -107,6 +107,7 @@ protected:
void HandleMonsterAttack(MonsterPacket* const);
//player movement
void ProcessLocalCharacterMovement();
void SendLocalCharacterMovement();
std::list<BoundingBox> GenerateCollisionGrid(Entity*, int tileWidth, int tileHeight);
@@ -150,6 +151,7 @@ protected:
//ugly references; I hate this
ConfigUtility& config = ConfigUtility::GetSingleton();
UDPNetworkUtility& network = UDPNetworkUtility::GetSingleton();
Uint8* keyState = nullptr;
};
#endif