MATTIE.actorAPI.Data_Class()

new Data_Class()

an object that models a DataClass

Members

data :rm.types.Actor

Methods

addDefaultLearning(skillId)

add a skill to the array of default known skills IE: lvl 1 available skills

Parameters:
Name Type Description
skillId int

the id of the skill to add

create()

add this data class to the global runtime array of data classes $dataClasses

Returns:
-

null

defaultExpParam()

Returns:
-

a deepcopy of the expParams of the first actor

defaultLearnings()

Returns:
-

a deepcopy of the learnings of the first actor

defaultName()

Returns:
-

a deepcopy of the name of the first actor

defaultNote()

Returns:
-

a deepcopy of the note of the first actor

defaultParams()

Returns:
-

a deepcopy of the params of the first actor

defaultTraits()

Returns:
-

a deepcopy of the traits of the first actor