C# Class HeadItem, DungeonGame

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

Public Methods

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

Method Details

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

HeadItem() public method

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

HeadItem() public method

public HeadItem ( 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

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