C# Class HeadItem, DungeonGame

Inheritance: GameItem
Afficher le fichier Open project: MorganMoon/DungeonGame Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public GetCrit ( ) : float
Résultat float

GetDefense() public méthode

public GetDefense ( ) : float
Résultat float

GetEndurance() public méthode

public GetEndurance ( ) : float
Résultat float

GetReqLevel() public méthode

public GetReqLevel ( ) : int
Résultat int

GetStrength() public méthode

public GetStrength ( ) : float
Résultat float

HeadItem() public méthode

public HeadItem ( int level ) : System.Collections
level int
Résultat System.Collections

HeadItem() public méthode

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
Résultat System.Collections

RandomName() public méthode

public RandomName ( ) : string
Résultat string

SetCrit() public méthode

public SetCrit ( float crit ) : void
crit float
Résultat void

SetDefense() public méthode

public SetDefense ( float defense ) : void
defense float
Résultat void

SetEndurance() public méthode

public SetEndurance ( float endurance ) : void
endurance float
Résultat void

SetReqLevel() public méthode

public SetReqLevel ( int reqLevel ) : void
reqLevel int
Résultat void

SetStrength() public méthode

public SetStrength ( float strength ) : void
strength float
Résultat void