Superfighters Deluxe
StatsToKeep Class Reference

Container for StatsToKeep More...

Inheritance diagram for StatsToKeep:

Public Member Functions

object Clone ()
 Clones the object, returning a copy. More...
 
override bool Equals (object obj)
 Compares if the components in two StatsToKeep match More...
 
bool Equals (StatsToKeep other)
 Compares if the components in two StatsToKeep match More...
 
float MinHealth [get, set]
 Minimum health to restore to. 0 means a dead player will stay dead. More...
 
float SurvivalDefeatMinHealth [get, set]
 Minimum health to restore to when defeated in a survival map. 0 means a dead player will stay dead. More...
 
ItemsToKeep ItemsToKeep [get, set]
 Items to keep. More...
 
 StatsToKeep (float minHealth=25f, ItemsToKeep itemsToKeep=ItemsToKeep.All)
 Constructor More...
 

Detailed Description

Container for StatsToKeep

Constructor & Destructor Documentation

◆ StatsToKeep()

StatsToKeep ( float  minHealth = 25f,
ItemsToKeep  itemsToKeep = ItemsToKeep.All 
)

Constructor

Parameters
minHealthMin health
itemsToKeepItems to keep

Member Function Documentation

◆ Clone()

object Clone ( )

Clones the object, returning a copy.

Returns

◆ Equals() [1/2]

override bool Equals ( object  obj)

Compares if the components in two StatsToKeep match

Parameters
obj
Returns

◆ Equals() [2/2]

bool Equals ( StatsToKeep  other)

Compares if the components in two StatsToKeep match

Parameters
other
Returns

Property Documentation

◆ ItemsToKeep

Items to keep.

◆ MinHealth

float MinHealth
getset

Minimum health to restore to. 0 means a dead player will stay dead.

◆ SurvivalDefeatMinHealth

float SurvivalDefeatMinHealth
getset

Minimum health to restore to when defeated in a survival map. 0 means a dead player will stay dead.