X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FPlayground.h;h=541bf2af566c1ca3bf512a060c65bb6f9d82ebd4;hb=74b9a225eda4a9c8d97da9f374fd444b3823e5c1;hp=bed17cccd2a23abd3f565e2b816a82d5a174ce56;hpb=357a451150c18b27f99cecd5f9d13be1ae5a9fdf;p=matthijs%2FABM2.git diff --git a/ABM2/Playground.h b/ABM2/Playground.h index bed17cc..541bf2a 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(); @@ -33,8 +33,8 @@ public: int getFieldCenterX(); int getFieldCenterY(); private: -#ifdef WIN32 int x,y; +#ifdef WIN32 LPDIRECT3DTEXTURE9 texture; #endif // WIN32 }; @@ -65,6 +65,7 @@ private: #ifdef WIN32 LPDIRECT3DTEXTURE9 background; LPDIRECT3DTEXTURE9 foreground; +#endif // WIN32 Bomberman *bomberman; Item *field[PLAYGROUND_COLS][PLAYGROUND_ROWS]; @@ -75,5 +76,4 @@ private: void move_left(); DWORD old_counter; -#endif // WIN32 };