CardRPG 1.0
 
Loading...
Searching...
No Matches
CardRPG.HandUI Class Reference

A UI component that displays the player's hand of cards in a duel. More...

Inheritance diagram for CardRPG.HandUI:

Public Member Functions

void DisplayPlayerHand (Dueler player, bool noPass)
 Displays the player's hand of cards, allowing them to select a card to play.
 

Public Attributes

UnityEvent< int > onSelect = new()
 Event that is invoked when a card is selected.
 
UnityEvent onPass = new()
 Event that is invoked when the player passes their turn.
 
UnityEvent< int, Dueler, List< int >, int > OnTargetSelect = new()
 Event that is invoked when a target is selected.
 

Detailed Description

A UI component that displays the player's hand of cards in a duel.

Member Function Documentation

◆ DisplayPlayerHand()

void CardRPG.HandUI.DisplayPlayerHand ( Dueler player,
bool noPass )
inline

Displays the player's hand of cards, allowing them to select a card to play.

Parameters
player
noPass

The documentation for this class was generated from the following file: