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

Provides AI logic for selecting cards and targets during a duel. More...

Public Member Functions

int GetCardAndTarget (Dueler caster)
 

Public Attributes

Card[] highestDamageCardByElement
 Stores the highest damage cards by element from the last evaluation.
 
Card[] lowestDamageCardByElement
 Stores the lowest damage cards by element from the last evaluation.
 
Card[] highestInitialDamageCard
 Stores the highest initial damage cards by element from the last evaluation.
 
Card[] lowestInitialDamageCard
 Stores the lowest initial damage cards by element from the last evaluation.
 
 int
 Determines the best card to play and its target for the given caster, based on the AI logic.
 
 Dueler
 
 List< int >
 

Detailed Description

Provides AI logic for selecting cards and targets during a duel.

Member Data Documentation

◆ int

CardRPG.AILogic.int

Determines the best card to play and its target for the given caster, based on the AI logic.

Parameters
casterThe dueler who is playing the card.
opponentsThe list of opponent duelers.
alliesThe list of ally duelers.
Returns
A tuple containing the selected card and its target dueler.

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