Colisiones básicas completadas
This commit is contained in:
@@ -87,6 +87,13 @@ int Sprite::getHeight()
|
||||
return mHeight;
|
||||
}
|
||||
|
||||
// Establece la posición del objeto
|
||||
void Sprite::setPos(SDL_Rect rect)
|
||||
{
|
||||
mPosX = rect.x;
|
||||
mPosY = rect.y;
|
||||
}
|
||||
|
||||
// Establece el valor de la variable
|
||||
void Sprite::setPosX(int x)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user