From 5dd6f1089a86e69889056f3853b373025f68026f Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Thu, 25 Nov 2010 21:12:09 +0000 Subject: Add a marcus sprite sheet, set it as the player's image, implement left/right keyboard input --- Creature.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Creature.cpp') 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() { -- cgit v1.2.3