Logo
Public Types | Public Member Functions | Public Attributes | List of all members
Yukar.Engine.EnhanceEffect Class Reference

A class for managing temporary ability enhancements such as saving and guarding More...

Public Types

enum  EnhanceEffectType { TurnEffect , DurationEffect , CommandEffect }
 

Public Member Functions

 EnhanceEffect (int enhanceEffect, int durationTurn, float diff=1.0f)
 
 EnhanceEffect (int enhanceEffect, float diff)
 
 EnhanceEffect (int enhanceEffect, BattleCommandType commandType)
 

Public Attributes

readonly EnhanceEffectType type
 
int enhanceEffect
 
int turnCount
 
readonly int durationTurn
 
readonly float diff
 
readonly BattleCommandType commandType
 

Detailed Description

A class for managing temporary ability enhancements such as saving and guarding

Member Enumeration Documentation

◆ EnhanceEffectType

Enumerator
TurnEffect 
DurationEffect 
CommandEffect 

Constructor & Destructor Documentation

◆ EnhanceEffect() [1/3]

Yukar.Engine.EnhanceEffect.EnhanceEffect ( int  enhanceEffect,
int  durationTurn,
float  diff = 1.0f 
)

◆ EnhanceEffect() [2/3]

Yukar.Engine.EnhanceEffect.EnhanceEffect ( int  enhanceEffect,
float  diff 
)

◆ EnhanceEffect() [3/3]

Yukar.Engine.EnhanceEffect.EnhanceEffect ( int  enhanceEffect,
BattleCommandType  commandType 
)

Member Data Documentation

◆ commandType

readonly BattleCommandType Yukar.Engine.EnhanceEffect.commandType

◆ diff

readonly float Yukar.Engine.EnhanceEffect.diff

◆ durationTurn

readonly int Yukar.Engine.EnhanceEffect.durationTurn

◆ enhanceEffect

int Yukar.Engine.EnhanceEffect.enhanceEffect

◆ turnCount

int Yukar.Engine.EnhanceEffect.turnCount

◆ type

readonly EnhanceEffectType Yukar.Engine.EnhanceEffect.type