]> git.mmlx.us Git - IvanGame.git/commitdiff
initilized scale of world objects
authorIvan Hernanez <iturtleman128@gmail.com>
Mon, 28 May 2012 05:03:06 +0000 (00:03 -0500)
committerIvan Hernanez <iturtleman128@gmail.com>
Mon, 28 May 2012 05:03:06 +0000 (00:03 -0500)
Level.cpp
WorldObject.h

index 5d7eca3332e6dc727f318dfad32cb2b6d20bb342..961fed51c42c291d5c5c9b2127f9838cb281fddb 100644 (file)
--- a/Level.cpp
+++ b/Level.cpp
@@ -89,8 +89,6 @@ void Level::drawScene()
                {
                        cerr << "SDL_BlitSurface() Failed: " << SDL_GetError() << endl;
                }
-               else
-                       cout<<"Drew: "<<txt<<endl;
 
                SDL_FreeSurface(text);
        }
index 3995954f29f9421db4efc8bb1421735408b42c2f..b827348616626b49f0add12f76377b5d392c604e 100644 (file)
@@ -10,7 +10,8 @@ public:
                ZOrder(z),
                mVisible(true),
                mTransparency(1),
-               mAngle(0)
+               mAngle(0),
+               mScale(1)
          {}
        virtual void draw() = 0;/**< Draws the Object. */
        void drawCollisions(vector<Collision*>& vec, const Point2D& pos);/**< Draws Collision data for the Object */