C# Class MerchantRPG.GeneticParty.Processing.ASimulator

显示文件 Open project: subchannel13/MerchantRPG-combinator Class Usage Examples

Protected Properties

Property Type Description
AllItems Stats[][]>.Dictionary
monster MerchantRPG.Data.Monster

Public Methods

Method Description
ItemChoices ( Hero hero, int slot ) : int
ItemData ( Hero hero, int slot, int index ) : Item
Run ( IList builds, int frontCount ) : double[]
TranslateBack ( IList buildTexts ) : IList

Protected Methods

Method Description
ASimulator ( Monster monster, int heroLevel, int itemLevel ) : System
HeroStats ( HeroBuild build ) : Stats

Private Methods

Method Description
enhancmentBonus ( int potionType ) : Stats

Method Details

ASimulator() protected method

protected ASimulator ( Monster monster, int heroLevel, int itemLevel ) : System
monster MerchantRPG.Data.Monster
heroLevel int
itemLevel int
return System

HeroStats() protected method

protected HeroStats ( HeroBuild build ) : Stats
build HeroBuild
return MerchantRPG.Simulation.Stats

ItemChoices() public method

public ItemChoices ( Hero hero, int slot ) : int
hero MerchantRPG.Data.Hero
slot int
return int

ItemData() public method

public ItemData ( Hero hero, int slot, int index ) : Item
hero MerchantRPG.Data.Hero
slot int
index int
return Item

Run() public abstract method

public abstract Run ( IList builds, int frontCount ) : double[]
builds IList
frontCount int
return double[]

TranslateBack() public method

public TranslateBack ( IList buildTexts ) : IList
buildTexts IList
return IList

Property Details

AllItems protected_oe property

protected Dictionary AllItems
return Stats[][]>.Dictionary

monster protected_oe property

protected Monster,MerchantRPG.Data monster
return MerchantRPG.Data.Monster