|
Brunot
|
The system responsible for facilitating communication between gameplay components (Players, Deck, and Board). More...
#include "PlayerTurn.h"#include "Table.h"#include <algorithm>#include "Actions/ChangeColorAction.h"#include "Actions/SetMessageEnabledAction.h"#include "Component/MenuPosition.h"#include "System/Editor.h"#include "Framework/Engine.h"#include "System/Messaging.h"#include "Utility/Path/Path.h"#include "Framework/Entity.h"#include "Framework/Node.h"#include "Utility/GameRules.h"#include "Component/Selector.h"#include "Component/Button.h"#include "Component/Deck.h"#include "Component/FilteredSelector.h"#include "Component/Player.h"#include "Component/Menu.h"#include "Utility/Messages/Button Messages/ButtonMessage.h"#include "Component/Sprite.h"#include "Framework/Factory.h"The system responsible for facilitating communication between gameplay components (Players, Deck, and Board).
When backend logic (Ex: Checking if a card placement is valid) needs to happen, it will be sent to PlayerTurn, a friend class.
This class NEEDS a board, a deck, and players to function properly, as gameplay cannot function without it.