working on 2players
This commit is contained in:
@@ -2334,7 +2334,7 @@ void Game::throwCoffee(int x, int y)
|
|||||||
mSmartSprite[index]->setRotateAmount(90.0);
|
mSmartSprite[index]->setRotateAmount(90.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Crea un SmartSprite para arrojar el item café al recibir un impacto
|
// Crea un SmartSprite para arrojar al jugador al morir
|
||||||
void Game::throwPlayer(int x, int y)
|
void Game::throwPlayer(int x, int y)
|
||||||
{
|
{
|
||||||
const int sentit = ((rand() % 2) ? 1 : -1);
|
const int sentit = ((rand() % 2) ? 1 : -1);
|
||||||
|
|||||||
Reference in New Issue
Block a user