Loading...
Searching...
No Matches
AdventureCore.DamageParameter Class Reference

Detailed Description

serializable utility class that combines a damage kind with a value and a tag
useful for configuring damage values in the inspector
for example the damage of a weapon or trap

Static Public Member Functions

static DamageParameter operator* (DamageParameter d, int n)
 
static DamageParameter operator/ (DamageParameter d, int n)
 
static DamageParameter operator+ (DamageParameter d, int n)
 
static DamageParameter operator- (DamageParameter d, int n)
 
static DamageParameter operator* (DamageParameter d, float n)
 
static DamageParameter operator/ (DamageParameter d, float n)
 
static DamageParameter operator+ (DamageParameter d, float n)
 
static DamageParameter operator- (DamageParameter d, float n)
 

Public Attributes

DamageKind Kind
 
Object Tag
 
float Value