X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FPlayground.h;h=99896744af2675deb649af4f06644b6cdc340999;hb=refs%2Fheads%2Flinux;hp=879b4b005b7241050d3973950882bbf2d6168f84;hpb=75d4212e8548f64904bad6d7f8978c077e6687d0;p=matthijs%2FABM2.git diff --git a/ABM2/Playground.h b/ABM2/Playground.h index 879b4b0..9989674 100755 --- a/ABM2/Playground.h +++ b/ABM2/Playground.h @@ -16,7 +16,7 @@ enum TMoveDirection { N,NNE,NE,NEE,E,SEE,SE,SSE,S,SSW,SW,SWW,W,NWW,NW,NNW }; //( class Bomberman { public: - Bomberman(int xloc, int yloc); + Bomberman(const CMMPointer &sprite, int xloc, int yloc); ~Bomberman(); void Update(); void move(int xloc, int yloc); @@ -34,9 +34,7 @@ public: int getFieldCenterY(); private: int x,y; -#ifdef WIN32 - LPDIRECT3DTEXTURE9 texture; -#endif // WIN32 + CMMPointer sprite; }; class Tile