C# Class WarTornLands.Infrastructure.Catalog

Class containing lists of item and NPC names. Used by the DialogManager to display strings in the color of the type they represent.
ファイルを表示 Open project: floAr/WarTornLands

Public Properties

Property Type Description
ArmorColor Color
BaseColor Color
ConsumableColor Color
LocationColor Color
NpcColor Color
SpeakerColor Color
WeaponColor Color

Public Methods

Method Description
CheckString ( string check ) : Color
SetColors ( Color basecolor, Color weapons, Color consumables, Color armor, Color npcs, Color locations ) : void
SetupTestCatalog ( ) : void

Private Methods

Method Description
Catalog ( ) : System
CheckList ( List list, string check ) : bool

Method Details

CheckString() public method

public CheckString ( string check ) : Color
check string
return Color

SetColors() public method

public SetColors ( Color basecolor, Color weapons, Color consumables, Color armor, Color npcs, Color locations ) : void
basecolor Color
weapons Color
consumables Color
armor Color
npcs Color
locations Color
return void

SetupTestCatalog() public method

public SetupTestCatalog ( ) : void
return void

Property Details

ArmorColor public_oe static_oe property

public static Color ArmorColor
return Color

BaseColor public_oe static_oe property

public static Color BaseColor
return Color

ConsumableColor public_oe static_oe property

public static Color ConsumableColor
return Color

LocationColor public_oe static_oe property

public static Color LocationColor
return Color

NpcColor public_oe static_oe property

public static Color NpcColor
return Color

SpeakerColor public_oe static_oe property

public static Color SpeakerColor
return Color

WeaponColor public_oe static_oe property

public static Color WeaponColor
return Color