X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FPlayground.h;h=99896744af2675deb649af4f06644b6cdc340999;hb=a4a0e436bb55c33e9f8a624f90a5512671b14559;hp=879b4b005b7241050d3973950882bbf2d6168f84;hpb=9712243130639ad13f421415171df4e5fc1e4773;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