Update
This commit is contained in:
parent
567ad36e55
commit
a3e5729201
1 changed files with 7 additions and 5 deletions
12
general.hpp
12
general.hpp
|
@ -252,6 +252,8 @@ public:
|
|||
|
||||
Player()
|
||||
{
|
||||
initCamera(&mCamera);
|
||||
|
||||
mCamera.position.x = 0;
|
||||
mCamera.position.y = 0;
|
||||
mCamera.direction = 0;
|
||||
|
@ -355,6 +357,11 @@ public:
|
|||
class Sprite
|
||||
{
|
||||
public:
|
||||
const unsigned char *mImage;
|
||||
Vector2D mPosition;
|
||||
Unit mHeight;
|
||||
Unit mPixelSize;
|
||||
|
||||
Sprite(const unsigned char *image, int16_t squareX, int16_t squareY, Unit z,
|
||||
Unit pixelSize):
|
||||
mImage(image),
|
||||
|
@ -371,11 +378,6 @@ public:
|
|||
mPosition.x = 0;
|
||||
mPosition.y = 0;
|
||||
}
|
||||
|
||||
const unsigned char *mImage;
|
||||
Vector2D mPosition;
|
||||
Unit mHeight;
|
||||
Unit mPixelSize;
|
||||
};
|
||||
|
||||
void initGeneral()
|
||||
|
|
Loading…
Reference in a new issue