void Awake() { // TODO: have option to select where we would like to get the classRuntime from -- saved game, config, etc. // this will be part of the overall serialization scheme with systems. if (classConfig != null) { classRuntime = classConfig.ToRuntime(this); } }
public EnemyRuntime(string saveGameId, List <AbilityRuntime> abilityRuntimes, ClassRuntime classRuntime) { this.saveGameId = saveGameId; this.abilityRuntimes = abilityRuntimes; this.classRuntime = classRuntime; }
public ClassRuntime ToRuntime(ClassSystem owner) { var runtime = new ClassRuntime(owner, this); return(runtime); }