|
GigaPasjans
|
Handles the visual representation of cards and stacks. More...
#include <CardRenderer.h>

Public Member Functions | |
| void | Initialize (::Game::Deck *deck) |
| Initializes the renderer with a given deck. | |
| void | RegisterComponents (Andromenda::Surface *surface) |
| Registers rendering components to the surface. | |
| void | Update () |
| Updates the state of all visual components. | |
Public Attributes | |
| std::unordered_map< Card *, UniqueRef< CardComponent > > | Tableau |
| Maps cards to their tableau visual components. | |
| std::unordered_map< CardStack *, UniqueRef< FoundationComponent > > | Foundation |
| Maps card stacks to their foundation components. | |
| std::unordered_map< CardStack *, UniqueRef< FragmentComponent > > | Fragments |
| Maps card stacks to their fragment components. | |
| UniqueRef< StockComponent > | Stock |
| Visual component representing the stock pile. | |
| Deck * | Deck |
| Pointer to the associated card deck. | |
| Andromenda::Surface * | Surface |
| Rendering surface used for drawing components. | |
Handles the visual representation of cards and stacks.