public PlayerCharacter(InGameUser user, HeroCharacter heroCharacter, Func<float> getLifeDrainRate, FSM parentFsm) { this.user = user; this.heroCharacter = heroCharacter; this.getLifeDrainRate = getLifeDrainRate; this.parentFsm = parentFsm; heroCharacter.InitFSM("PlayerCharacter.fsm", this, false); }