ARCed.Database.Actors.ExperienceCurveForm.ChangeActor C# (CSharp) Метод

ChangeActor() публичный Метод

Changes the form's associated RPG.Actor to represent.
public ChangeActor ( Actor actor ) : void
actor RPG.Actor RPG.Actor instance
Результат void
        public void ChangeActor(Actor actor)
        {
            this._actor = actor;
            this.listBoxExperience.ColumnWidth = this._actor.final_level <= 100 ? 96 : 136;
            this._expList = new long[this._actor.final_level + 1];
            this.trackBarBasis.Value = this._actor.exp_basis;
            this.trackBarInflation.Value = this._actor.exp_inflation;
            this._startValues = new[] { this._actor.exp_basis, this._actor.exp_inflation };
        }