SkillManager
new SkillManager(actor)
- Source:
Parameters:
| Name |
Type |
Description |
actor |
Actor
|
绑定的角色对象
|
Members
cooldownList :CooldownList
- Source:
Type:
version :number
- Source:
Type:
Methods
add(skill)
- Source:
Parameters:
| Name |
Type |
Description |
skill |
Skill
|
技能实例
|
delete(id)
- Source:
Parameters:
| Name |
Type |
Description |
id |
string
|
技能文件ID
|
get(id) → {Skill|undefined}
- Source:
Parameters:
| Name |
Type |
Description |
id |
string
|
技能文件ID
|
Returns:
-
Type:
-
Skill
|
undefined
loadData(skills)
- Source:
Parameters:
remove(skill)
- Source:
Parameters:
| Name |
Type |
Description |
skill |
Skill
|
技能实例
|