Files
Bomberman/sources/Component/Lobby/ResumeLobbyComponent.cpp
Clément Le Bihan 3218da652b fixing warnings
2021-06-18 17:39:41 +02:00

21 lines
564 B
C++

//
// Created by hbenjamin on 6/18/21.
//
#include "ResumeLobbyComponent.hpp"
namespace BBM
{
ResumeLobbyComponent::ResumeLobbyComponent(WAL::Entity &entity, int playerNumber, WAL::Entity &button, WAL::Entity &tile, int pColor)
: WAL::Component(entity),
playerID(playerNumber),
playerColor(pColor),
readyButton(button),
coloredTile(tile)
{}
WAL::Component *ResumeLobbyComponent::clone(WAL::Entity &entity) const
{
return new ResumeLobbyComponent(entity, this->playerID, this->readyButton, this->coloredTile, this->playerColor);
}
}