Relative Position based on the Full Size of the Screen
OptionalbaseZIndex: numberThe base Z Index position to order each card so that different Card Points overlay others
ProtectedanimationProtectedattachedProtectedbaseProtectedgameProtectednameProtectedparentProtectedpositionProtectedtopAdds a Card Sprite to the Top of the Point
Card added to the Top
Whether or not the top card being shifted over should be tweened
Returns the Top Card of the Point
Sends the top card of this Point to a new Card Point
The new Card Point to send to
How long the tweened movement takes
Delay before the card is sent
Pushes an Offset Top Card back into the Point fully
The Card Point to effect
Whether or not shifting the card back is tweened
Card Point Instead of mucking around with nested containers for the card sprites, instead I kept them in one container and used a Card Point to act as a place to move Cards between on-screen.
Able to keep track of cards assigned to it and send them to other Card Points that stand in for different 'piles' of cards.