Añadido campo ID al jugador
Las balas y los mandos utilizan ahora este ID
This commit is contained in:
@@ -437,6 +437,12 @@ private:
|
||||
// Comprueba el estado de juego de los jugadores
|
||||
void checkPlayersStatusPlaying();
|
||||
|
||||
// Obtiene un jugador a partir de su "id"
|
||||
Player *getPlayer(int id);
|
||||
|
||||
// Obtiene un controlador a partir del "id" del jugador
|
||||
int getController(int playerId);
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
Game(int playerID, int currentStage, Screen *screen, Asset *asset, Lang *lang, Input *input, bool demo, param_t *param, options_t *options, section_t *section, JA_Music_t *music);
|
||||
|
||||
Reference in New Issue
Block a user