projects
/
matthijs
/
ABM2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Make the Bomberman draw itself.
[matthijs/ABM2.git]
/
ABM2
/
Playground.h
diff --git
a/ABM2/Playground.h
b/ABM2/Playground.h
index 879b4b005b7241050d3973950882bbf2d6168f84..99896744af2675deb649af4f06644b6cdc340999 100755
(executable)
--- 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
\r
{
\r
public:
\r
class Bomberman
\r
{
\r
public:
\r
- Bomberman(int xloc, int yloc);
\r
+ Bomberman(
const CMMPointer<Sprite> &sprite,
int xloc, int yloc);
\r
~Bomberman();
\r
void Update();
\r
void move(int xloc, int yloc);
\r
~Bomberman();
\r
void Update();
\r
void move(int xloc, int yloc);
\r
@@
-34,9
+34,7
@@
public:
int getFieldCenterY();
\r
private:
\r
int x,y;
\r
int getFieldCenterY();
\r
private:
\r
int x,y;
\r
-#ifdef WIN32
\r
- LPDIRECT3DTEXTURE9 texture;
\r
-#endif // WIN32
\r
+ CMMPointer<Sprite> sprite;
\r
};
\r
\r
class Tile
\r
};
\r
\r
class Tile
\r