|
Brunot
|
The component responsible for storing information relevant to the player. More...
#include "Player.h"#include "Selector.h"#include "System/Logging.h"#include "Framework/Entity.h"#include "System/Messaging.h"#include "Sprite.h"#include "Transform.h"#include "Graphics/Texture.h"#include "Utility/Messages/DrawCardMessage.h"#include "imgui.h"#include "Actions/BroadcastMessageAction.h"#include "Actions/ChangeRotationAction.h"#include "Actions/ChangeScaleAction.h"#include "Actions/FlipCardAction.h"#include "Actions/MoveToMenuPositionAction.h"#include "Actions/PlayAudioAction.h"#include "Actions/SetPositionAction.h"#include "Component/Menu.h"#include "Framework/Factory.h"#include "Utility/Path/Path.h"#include "Component/Button.h"#include <sol/sol.hpp>#include "ScriptHolder.h"#include "Utility/LuaMacros.h"#include "Gameplay/Systems/GameRules.h"#include "Utility/AnimationSequence.h"Macros | |
| #define | LM_CLASS Player |
Functions | |
| auto | to_json (json &j, const Player &p) ->void |
| auto | from_json (const json &j, Player &p) ->void |
The component responsible for storing information relevant to the player.
Tracks how many cards it has in hand, and the maximum number of cards it can hold
| #define LM_CLASS Player |