C# 클래스 Sol.PlayerStats

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: Stumpstump/RoverGame 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

프로퍼티 타입 설명
Awake void
KillPlayer IEnumerator
Update void

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
Awake ( ) : void
KillPlayer ( ) : IEnumerator

Kill the player and begin the reset process

Update ( ) : void

메소드 상세

AddRecipe() 공개 메소드

Add recipe to list of player's craftables
public AddRecipe ( Recipe r ) : void
r Recipe
리턴 void

DisableMovement() 공개 메소드

public DisableMovement ( ) : void
리턴 void

EnableMovement() 공개 메소드

public EnableMovement ( ) : void
리턴 void

FixedUpdate() 공개 메소드

public FixedUpdate ( ) : void
리턴 void

ModifyHealth() 공개 메소드

public ModifyHealth ( float addedModifier ) : void
addedModifier float
리턴 void

ModifyStat() 공개 메소드

Process stat, applying all stat modifications
public ModifyStat ( int statId ) : float
statId int
리턴 float

RemoveRecipe() 공개 메소드

Remove recipe from list of player's craftables
public RemoveRecipe ( Recipe r ) : void
r Recipe
리턴 void

프로퍼티 상세

OverallCharge 공개적으로 프로퍼티

public float OverallCharge
리턴 float

OverallHealth 공개적으로 프로퍼티

public float OverallHealth
리턴 float

cursorImage 공개적으로 프로퍼티

public Texture2D,UnityEngine cursorImage
리턴 UnityEngine.Texture2D

knownRecipes 공개적으로 프로퍼티

public List knownRecipes
리턴 List

minSpeed 공개적으로 프로퍼티

public float minSpeed
리턴 float

movementEnabled 공개적으로 프로퍼티

public int movementEnabled
리턴 int

roverComponents 공개적으로 프로퍼티

public List roverComponents
리턴 List

statCollection 공개적으로 프로퍼티

public StatCollection statCollection
리턴 StatCollection

sun 공개적으로 프로퍼티

public Light,UnityEngine sun
리턴 UnityEngine.Light

sunDown 공개적으로 프로퍼티

public float sunDown
리턴 float

sunUp 공개적으로 프로퍼티

public float sunUp
리턴 float