OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
DamageCalculator::Val Struct Referencefinal

#include <damagecalculator.h>

Public Member Functions

 Val ()=default
 
 Val (int32_t v, bool b)
 
 Val (int32_t v, bool b, bool i)
 

Public Attributes

int32_t value = 0
 
bool hasHit = false
 
bool invincible = false
 

Detailed Description

Definition at line 16 of file damagecalculator.h.

Constructor & Destructor Documentation

◆ Val() [1/3]

DamageCalculator::Val::Val ( )
default

◆ Val() [2/3]

DamageCalculator::Val::Val ( int32_t  v,
bool  b 
)
inline

Definition at line 18 of file damagecalculator.h.

◆ Val() [3/3]

DamageCalculator::Val::Val ( int32_t  v,
bool  b,
bool  i 
)
inline

Definition at line 19 of file damagecalculator.h.

Member Data Documentation

◆ hasHit

bool DamageCalculator::Val::hasHit = false

Definition at line 22 of file damagecalculator.h.

◆ invincible

bool DamageCalculator::Val::invincible = false

Definition at line 23 of file damagecalculator.h.

◆ value

int32_t DamageCalculator::Val::value = 0

Definition at line 21 of file damagecalculator.h.


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