mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 05:15:10 +00:00
20 lines
482 B
C++
20 lines
482 B
C++
//
|
|
// Created by Zoe Roux on 6/11/21.
|
|
//
|
|
|
|
#include "LobbyComponent.hpp"
|
|
|
|
namespace BBM
|
|
{
|
|
LobbyComponent::LobbyComponent(WAL::Entity &entity, int playerID, WAL::Entity &readyButton, WAL::Entity &coloredTile)
|
|
: WAL::Component(entity),
|
|
playerID(playerID),
|
|
readyButton(readyButton),
|
|
coloredTile(coloredTile)
|
|
{}
|
|
|
|
WAL::Component *LobbyComponent::clone(WAL::Entity &entity) const
|
|
{
|
|
return new LobbyComponent(entity, this->playerID, this->readyButton, this->coloredTile);
|
|
}
|
|
} |