|
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/ScaleUpAndDownAction.h>#include "GameRules.h"#include "Actions/ChangeColorAction.h"#include "Actions/ChangeOpacityAction.h"#include "Actions/ChangeScaleAction.h"#include "Actions/MoveToMenuPositionAction.h"#include "Actions/MoveToPointAction.h"#include "Actions/MoveVerticalAction.h"#include "Actions/SetMessageEnabledAction.h"#include "Scoring.h"#include "Actions/BlockingAction.h"#include "Actions/CallFunctionAction.h"#include "Actions/ChangeRotationAction.h"#include "Actions/FlashColor.h"#include "Actions/FlipCardAction.h"#include "Actions/MoveToVerticalPointAction.h"#include "Actions/PlayAudioAction.h"#include "Actions/SetPositionAction.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 "Component/Selector.h"#include "Component/Deck.h"#include "Component/FilteredSelector.h"#include "Component/MainScene.h"#include "Component/Player.h"#include "Component/Menu.h"#include "Component/Scene.h"#include "Component/ParticleGenerator.h"#include "Component/Sprite.h"#include "Framework/Factory.h"#include "System/Input.h"#include "Utility/AnimationSequence.h"#include "Utility/Messages/LuaMessage.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.