C# Class ARCed.Database.Actors.ExperienceCurveForm

Form for displaying and configuring experience tables for an RPG.Actor.
Inheritance: ARCed.UI.DockContent
Show file Open project: borisblizzard/arcreator

Public Methods

Method Description
CalculateInflation ( int basis, int inflation ) : void

Calculates experience levels based on the given basis and inflation rate.

ChangeActor ( Actor actor ) : void

Changes the form's associated RPG.Actor to represent.

ExperienceCurveForm ( ) : System

Default constructor

RefreshTable ( ) : void

Refreshes the table to display current values.

Private Methods

Method Description
ButtonApplyClick ( object sender, EventArgs e ) : void
ButtonCancelClick ( object sender, EventArgs e ) : void
ListBoxExperienceDrawItem ( object sender, DrawItemEventArgs e ) : void
NumericBasisValueChanged ( object sender, EventArgs e ) : void
NumericInflationValueChanged ( object sender, EventArgs e ) : void
RadioButtonCheckedChanged ( object sender, EventArgs e ) : void

Method Details

CalculateInflation() public method

Calculates experience levels based on the given basis and inflation rate.
public CalculateInflation ( int basis, int inflation ) : void
basis int Base value
inflation int Rate of inflation
return void

ChangeActor() public method

Changes the form's associated RPG.Actor to represent.
public ChangeActor ( Actor actor ) : void
actor RPG.Actor RPG.Actor instance
return void

ExperienceCurveForm() public method

Default constructor
public ExperienceCurveForm ( ) : System
return System

RefreshTable() public method

Refreshes the table to display current values.
public RefreshTable ( ) : void
return void