X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FPlayground.h;h=7c14f7c3be3759d1b9e39e2dfaf06e4a45687a19;hb=9ab93a814d8ce0cf4d40fbb627ad21a28d265bcc;hp=ae495379ce398ca31e0585fb1fad507bb7d7c44f;hpb=ef328ea4a5e0e2f76f474d3b452e8b35b7fb2995;p=matthijs%2FABM2.git diff --git a/ABM2/Playground.h b/ABM2/Playground.h index ae49537..7c14f7c 100755 --- a/ABM2/Playground.h +++ b/ABM2/Playground.h @@ -21,7 +21,7 @@ public: void Update(); void move(int xloc, int yloc); void move_to(int xloc, int yloc); - void move_to_direction(TMoveDirection dir, int speed); + void move_to_direction(TMoveDirection dir); int getY(); int getX(); int getHeight(); @@ -57,6 +57,7 @@ private: class Playground : public ITask { public: + Playground(CKernel *kernel); bool Start(); void Update(); void Stop(); @@ -76,4 +77,5 @@ private: void move_left(); DWORD old_counter; + CKernel *kernel; };