C# Class Sol.PlayerStats

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: Stumpstump/RoverGame Class Usage Examples

Méthodes publiques

Свойство Type Description
OverallCharge float
OverallHealth float
cursorImage UnityEngine.Texture2D
knownRecipes List
minSpeed float
movementEnabled int
roverComponents List
statCollection StatCollection
sun UnityEngine.Light
sunDown float
sunUp float

Private Properties

Свойство Type Description
Awake void
KillPlayer IEnumerator
Update void

Méthodes publiques

Méthode Description
AddRecipe ( Recipe r ) : void

Add recipe to list of player's craftables

DisableMovement ( ) : void
EnableMovement ( ) : void
FixedUpdate ( ) : void
ModifyHealth ( float addedModifier ) : void
ModifyStat ( int statId ) : float

Process stat, applying all stat modifications

RemoveRecipe ( Recipe r ) : void

Remove recipe from list of player's craftables

Private Methods

Méthode Description
Awake ( ) : void
KillPlayer ( ) : IEnumerator

Kill the player and begin the reset process

Update ( ) : void

Method Details

AddRecipe() public méthode

Add recipe to list of player's craftables
public AddRecipe ( Recipe r ) : void
r Recipe
Résultat void

DisableMovement() public méthode

public DisableMovement ( ) : void
Résultat void

EnableMovement() public méthode

public EnableMovement ( ) : void
Résultat void

FixedUpdate() public méthode

public FixedUpdate ( ) : void
Résultat void

ModifyHealth() public méthode

public ModifyHealth ( float addedModifier ) : void
addedModifier float
Résultat void

ModifyStat() public méthode

Process stat, applying all stat modifications
public ModifyStat ( int statId ) : float
statId int
Résultat float

RemoveRecipe() public méthode

Remove recipe from list of player's craftables
public RemoveRecipe ( Recipe r ) : void
r Recipe
Résultat void

Property Details

OverallCharge public_oe property

public float OverallCharge
Résultat float

OverallHealth public_oe property

public float OverallHealth
Résultat float

cursorImage public_oe property

public Texture2D,UnityEngine cursorImage
Résultat UnityEngine.Texture2D

knownRecipes public_oe property

public List knownRecipes
Résultat List

minSpeed public_oe property

public float minSpeed
Résultat float

movementEnabled public_oe property

public int movementEnabled
Résultat int

roverComponents public_oe property

public List roverComponents
Résultat List

statCollection public_oe property

public StatCollection statCollection
Résultat StatCollection

sun public_oe property

public Light,UnityEngine sun
Résultat UnityEngine.Light

sunDown public_oe property

public float sunDown
Résultat float

sunUp public_oe property

public float sunUp
Résultat float