mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-28 00:31:50 +00:00
21 lines
564 B
C++
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);
|
|
}
|
|
} |