Pokemon Unity
A pokemon clone made using Unity
Loading...
Searching...
No Matches
Condition Class Reference

The Condition class manages all pokemon conditions More...

Properties

ConditionID Id [get, set]
 
string Name [get, set]
 
string Description [get, set]
 
string StartMessage [get, set]
 Message shown when the condition is inflicted on a pokemon More...
 
Action< PokemonOnStart [get, set]
 Run an action before OnBeforeTurn More...
 
Action< PokemonOnAfterTurn [get, set]
 Run an action after the pokemon's turn (eg. burn, poison) More...
 
Func< Pokemon, bool > OnBeforeMove [get, set]
 Run an action before the pokemon's turn (eg. paralyze) More...
 

Detailed Description

The Condition class manages all pokemon conditions

Definition at line 6 of file Condition.cs.

Property Documentation

◆ Description

string Condition.Description
getset

Definition at line 10 of file Condition.cs.

◆ Id

ConditionID Condition.Id
getset

Definition at line 8 of file Condition.cs.

◆ Name

string Condition.Name
getset

Definition at line 9 of file Condition.cs.

◆ OnAfterTurn

Action<Pokemon> Condition.OnAfterTurn
getset

Run an action after the pokemon's turn (eg. burn, poison)

Definition at line 23 of file Condition.cs.

◆ OnBeforeMove

Func<Pokemon, bool> Condition.OnBeforeMove
getset

Run an action before the pokemon's turn (eg. paralyze)

Definition at line 27 of file Condition.cs.

◆ OnStart

Action<Pokemon> Condition.OnStart
getset

Run an action before OnBeforeTurn

Definition at line 19 of file Condition.cs.

◆ StartMessage

string Condition.StartMessage
getset

Message shown when the condition is inflicted on a pokemon

Definition at line 15 of file Condition.cs.


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