* Make every ITask know about the Kernel in which the run.
[matthijs/ABM2.git] / ABM2 / Playground.h
index ae495379ce398ca31e0585fb1fad507bb7d7c44f..20d10522c07eee8628b45c322b86460ac338aa7f 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