Separated some character code into Renderable

This commit is contained in:
Kayne Ruse
2014-10-10 06:00:58 +11:00
parent 4d6186021f
commit 8dcd02aba3
5 changed files with 92 additions and 28 deletions
+1
View File
@@ -27,6 +27,7 @@
//the speeds that the characters move
constexpr double CHARACTER_WALKING_SPEED = 2.24;
constexpr double CHARACTER_WALKING_MOD = 1.0/sqrt(2.0);
constexpr double CHARACTER_WALKING_NEGATIVE_MOD = 1.0 - CHARACTER_WALKING_MOD;
//the bounds for the character objects, mapped to the default sprites
constexpr int CHARACTER_BOUNDS_X = 0;