Rearrenged the directory tree

I just _had_ to get rid of that horrible libs/ directory. Now most of the
graphical stuff is in client/, but I'll create more subdirectories so that
they're not getting in the way.
This commit is contained in:
Kayne Ruse
2013-07-15 14:58:04 +10:00
parent 28b491587c
commit 43dadcdbb8
36 changed files with 51 additions and 132 deletions
+3 -3
View File
@@ -97,17 +97,17 @@ void PlayerCharacter::FaceDirection() {
void PlayerCharacter::CheckSpeed() {
//diagonal
if (motion.x != 0 && motion.y != 0) {
sprite.SetInterval(0.1);
sprite.SetDelay(0.1);
limitSpeed = true;
}
//cardinal
else if (motion != 0) {
sprite.SetInterval(0.1);
sprite.SetDelay(0.1);
limitSpeed = false;
}
//not moving
else {
sprite.SetInterval(0);
sprite.SetDelay(0);
sprite.SetCurrentFrame(0);
limitSpeed = false;
}