* Give the argument CKernel::setSpriteManager a name.
[matthijs/ABM2.git] / ABM2 / Playground.h
index ae495379ce398ca31e0585fb1fad507bb7d7c44f..7c14f7c3be3759d1b9e39e2dfaf06e4a45687a19 100755 (executable)
@@ -21,7 +21,7 @@ public:
        void Update();\r
        void move(int xloc, int yloc);\r
        void move_to(int xloc, int yloc);\r
-       void move_to_direction(TMoveDirection dir, int speed);\r
+       void move_to_direction(TMoveDirection dir);\r
        int getY();\r
        int getX();\r
        int getHeight();\r
@@ -57,6 +57,7 @@ private:
 class Playground : public ITask\r
 {\r
 public:\r
+       Playground(CKernel *kernel);\r
        bool Start();\r
        void Update();\r
        void Stop();\r
@@ -76,4 +77,5 @@ private:
        void move_left();\r
 \r
        DWORD old_counter;\r
+       CKernel *kernel;\r
 };\r