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

Represents a deck of equipment in the game, with configurable size and copy limits. More...

Inheritance diagram for CardRPG.Deck:
CardRPG.Equipment CardRPG.IShopableItem CardRPG.IStatus CardRPG.IStatus

Public Attributes

int deckSize
 The maximum amount of cards in the deck.
 
int maxCopy
 The maximum copy of the same card.
 

Additional Inherited Members

- Public Member Functions inherited from CardRPG.Equipment
virtual string DisplayStatus ()
 Generates a formatted string that summarizes the current status of the object, including its name, level requirement, health, mana, and other attributes.
 
override string ToString ()
 
- Properties inherited from CardRPG.Equipment
Status Status [get]
 Gets the current status of the equipment.
 
int Value [get]
 Gets the current value in the property.
 
string Name [get]
 Gets the name of the equipment.
 
int LevelRequirement [get]
 Gets the minimum level required to access the equipment.
 
bool NotForSale [get]
 Gets a value indicating whether the item is not available for sale.
 

Detailed Description

Represents a deck of equipment in the game, with configurable size and copy limits.

This class is used to define a deck of equipment, including its maximum size and the maximum number of copies of any individual item allowed within the deck. It can be created as an asset using the Unity editor.


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