C# Class ChestItem, DungeonGame

Inheritance: GameItem
Mostra file Open project: MorganMoon/DungeonGame Class Usage Examples

Public Methods

Method Description
ChestItem ( int level ) : System.Collections
ChestItem ( string itemName, int goldWorth, float defense, float endurance, float strength, float crit ) : System.Collections
GetCrit ( ) : float
GetDefense ( ) : float
GetEndurance ( ) : float
GetReqLevel ( ) : int
GetStrength ( ) : float
RandomName ( ) : string
SetCrit ( float crit ) : void
SetDefense ( float defense ) : void
SetEndurance ( float endurance ) : void
SetReqLevel ( int reqLevel ) : void
SetStrength ( float strength ) : void

Method Details

ChestItem() public method

public ChestItem ( int level ) : System.Collections
level int
return System.Collections

ChestItem() public method

public ChestItem ( string itemName, int goldWorth, float defense, float endurance, float strength, float crit ) : System.Collections
itemName string
goldWorth int
defense float
endurance float
strength float
crit float
return System.Collections

GetCrit() public method

public GetCrit ( ) : float
return float

GetDefense() public method

public GetDefense ( ) : float
return float

GetEndurance() public method

public GetEndurance ( ) : float
return float

GetReqLevel() public method

public GetReqLevel ( ) : int
return int

GetStrength() public method

public GetStrength ( ) : float
return float

RandomName() public method

public RandomName ( ) : string
return string

SetCrit() public method

public SetCrit ( float crit ) : void
crit float
return void

SetDefense() public method

public SetDefense ( float defense ) : void
defense float
return void

SetEndurance() public method

public SetEndurance ( float endurance ) : void
endurance float
return void

SetReqLevel() public method

public SetReqLevel ( int reqLevel ) : void
reqLevel int
return void

SetStrength() public method

public SetStrength ( float strength ) : void
strength float
return void