mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-31 09:32:02 +00:00
fixed some warning + one test
This commit is contained in:
@@ -6,16 +6,16 @@
|
||||
|
||||
namespace BBM
|
||||
{
|
||||
ResumeLobbyComponent::ResumeLobbyComponent(WAL::Entity &entity, int playerNumber, WAL::Entity &button, WAL::Entity &tile, int color)
|
||||
ResumeLobbyComponent::ResumeLobbyComponent(WAL::Entity &entity, int playerNumber, WAL::Entity &button, WAL::Entity &tile, int pColor)
|
||||
: WAL::Component(entity),
|
||||
playerID(playerNumber),
|
||||
readyButton(button),
|
||||
coloredTile(tile),
|
||||
color(color)
|
||||
playerColor(pColor)
|
||||
{}
|
||||
|
||||
WAL::Component *ResumeLobbyComponent::clone(WAL::Entity &entity) const
|
||||
{
|
||||
return new ResumeLobbyComponent(entity, this->playerID, this->readyButton, this->coloredTile, this->color);
|
||||
return new ResumeLobbyComponent(entity, this->playerID, this->readyButton, this->coloredTile, this->playerColor);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user