SotM Engine API
Class documentation for the Sentinels of the Multiverse Engine API.
Loading...
Searching...
No Matches
Power Class Reference

Contains information related to a Power that can be used. More...

+ Inheritance diagram for Power:

Public Member Functions

 Power (HeroTurnTakerController hero, CardController cardControllerWithPower, string description, Func< IEnumerator > powerMethod, int powerIndex, CardController copiedFromCardController, CardSource cardSource, HeroCharacterCardController heroCharacterCardUsingPower=null)
 
 Power (HeroTurnTakerController hero, CardController cardControllerWithPower, string description, IEnumerator powerMethod, int powerIndex, CardController copiedFromCardController, CardSource cardSource, HeroCharacterCardController heroCharacterCardUsingPower=null)
 
void SetHeroCharacterCardUsingPower (HeroCharacterCardController hero)
 
override string ToString ()
 

Properties

CardController CardController [get]
 
CardSource CardSource [get, set]
 
CardController CopiedFromCardController [get]
 
string Description [get]
 
HeroCharacterCardController HeroCharacterCardUsingPower [get]
 The actual HeroCharacterCardController that is using the Power.
 
int Index [get]
 
Guid InstanceIdentifier [get]
 
bool IsContributionFromCardSource [get, set]
 Returns true if the power is contributed by another card, rather than on the card itself. Ex. Plague Rat's flipped side powers or Captain Cosmic's Cosmic Weapon.
 
bool IsInnatePower [get]
 Returns whether or not this power is its user's innate power.
 
IEnumerator Method [get]
 
Func< IEnumerator > MethodCall [get]
 A Func that performs the method for this Power Used to perform the code at the time of the call (as opposed to when the Power is created)
 
int NumberOfUses [get, set]
 
bool RequireExtraConfirmation [get]
 
string Title [get]
 
TurnTakerController TurnTakerController [get, set]
 
- Properties inherited from IChoosableText

Detailed Description

Contains information related to a Power that can be used.

Property Documentation

◆ CardController

◆ CardSource

Implements IChoosableText.

◆ Description

string Description
get

Implements IChoosableText.

◆ Index

int Index
get

Implements IChoosableText.

◆ Method

IEnumerator Method
get

Implements IChoosableText.

◆ RequireExtraConfirmation

bool RequireExtraConfirmation
get

Implements IChoosableText.

◆ TurnTakerController