Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Gameplay.SpeechCategoryManager


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
class SpeechCategoryManager extends Core.Object
	native
	config(SpeechCategories);

var config Array<String>	categoryNames;
var Array<SpeechCategory>	categories;

///
/// Initialises the array of speech categories based on the categoryNames
/// loaded from config.
///
event LoadCategories()
{
	local int i;

	for(i = 0; i < categoryNames.Length; ++i)
		categories[i] = new(None, categoryNames[i]) class'SpeechCategory';
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: ne 5.9.2004 15:53:26.000 - Creation time: st 23.5.2018 00:10:47.240 - Created with UnCodeX