C# 클래스 BaseCharacter, HackAndSlash

상속: MonoBehaviour
파일 보기 프로젝트 열기: MrPhil/HackAndSlash 1 사용 예제들

공개 메소드들

메소드 설명
AddExp ( uint exp ) : void
Awake ( ) : void
CalculateLevel ( ) : void

Not Finished: Take teh average of all the players skills and assign that as the player level

GetPrimaryAttribute ( AttributeName, attributeName ) : Attribute,
GetPrimaryAttribute ( int attributeIndex ) : Attribute,
GetSkill ( SkillName, skillName ) : Skill,
GetSkill ( int index ) : Skill,
GetVital ( VitalName vitalName ) : Vital,
GetVital ( int index ) : Vital,
StatUpdate ( ) : void

비공개 메소드들

메소드 설명
AddSkillModifier ( SkillName, skillName, AttributeName, attributeName, float ratio ) : void
SetupPrimaryAttributes ( ) : void
SetupSkillModifiers ( ) : void
SetupSkills ( ) : void
SetupVitalModifiers ( ) : void
SetupVitals ( ) : void

메소드 상세

AddExp() 공개 메소드

public AddExp ( uint exp ) : void
exp uint
리턴 void

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

CalculateLevel() 공개 메소드

Not Finished: Take teh average of all the players skills and assign that as the player level
public CalculateLevel ( ) : void
리턴 void

GetPrimaryAttribute() 공개 메소드

public GetPrimaryAttribute ( AttributeName, attributeName ) : Attribute,
attributeName AttributeName,
리턴 Attribute,

GetPrimaryAttribute() 공개 메소드

public GetPrimaryAttribute ( int attributeIndex ) : Attribute,
attributeIndex int
리턴 Attribute,

GetSkill() 공개 메소드

public GetSkill ( SkillName, skillName ) : Skill,
skillName SkillName,
리턴 Skill,

GetSkill() 공개 메소드

public GetSkill ( int index ) : Skill,
index int
리턴 Skill,

GetVital() 공개 메소드

public GetVital ( VitalName vitalName ) : Vital,
vitalName VitalName
리턴 Vital,

GetVital() 공개 메소드

public GetVital ( int index ) : Vital,
index int
리턴 Vital,

StatUpdate() 공개 메소드

public StatUpdate ( ) : void
리턴 void