summaryrefslogtreecommitdiff
path: root/Creature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Creature.cpp')
-rw-r--r--Creature.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Creature.cpp b/Creature.cpp
index 0463e5a..7693cb9 100644
--- a/Creature.cpp
+++ b/Creature.cpp
@@ -3,6 +3,8 @@
Creature::Creature() {
std::cout << "Creature::Creature(): Creature created.\n";
+ xVel = 0;
+ yVel = 0;
}
int Creature::getXVel() {