Difference between revisions of "Card Functions"
From theFarWilds
(New page: Scripting Card Functions are called on the Card object. For example Card card=getAIPlayer(0).getHandCard(0); if(card.getName()=="Tangler") { // ... List of functions: string '''g...) |
|||
Line 1: | Line 1: | ||
− | [[ | + | [[Category:Scripts]] |
− | + | A card object represents a TFW playing card (and all the associated properties). | |
− | + | == Constructors == | |
− | + | No global constructors; returned by Player.getHandCard() and Player.getDeckCard(). | |
− | + | ||
− | + | == Methods == | |
string '''getName'''(); | string '''getName'''(); | ||
+ | // returns the label of the card, e.g., "Tangler" or "Crypt Doctor" |
Revision as of 21:01, 3 April 2010
A card object represents a TFW playing card (and all the associated properties).
Constructors
No global constructors; returned by Player.getHandCard() and Player.getDeckCard().
Methods
string getName(); // returns the label of the card, e.g., "Tangler" or "Crypt Doctor"