Uses of Package
squidpony
Package | Description |
---|---|
squidpony |
Utilities that don't fit elsewhere in SquidLib; mostly text manipulation, compression, and helper code.
|
squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
-
Classes in squidpony used by squidpony Class Description ColoredStringList An helper class for code that deals with lists ofIColoredString
s.FakeLanguageGen A text generator for producing sentences and/or words in nonsense languages that fit a theme.FakeLanguageGen.Alteration FakeLanguageGen.Modifier FakeLanguageGen.SentenceForm A simple way to bundle a FakeLanguageGen with the arguments that would be passed to it when callingFakeLanguageGen.sentence(IRNG, int, int, String[], String[], double, int)
or one of its overloads.IColorCenter How to manage colors, making sure that a color is allocated at most once.IColorCenter.Skeleton A skeletal implementation ofIColorCenter
.IColorCenter.Skeleton.GranularHasher IFilter A filter is a function on colors.MarkovChar A simple Markov chain text generator; callMarkovChar.analyze(CharSequence)
once on a large sample text, then you can callMarkovChar.chain(long)
many times to get odd-sounding "remixes" of the sample text.MarkovObject A simple Markov chain generator that works with Lists of some type instead of text likeMarkovTextLimited
.MarkovText A simple Markov chain text generator; callMarkovText.analyze(CharSequence)
once on a large sample text, then you can callMarkovText.chain(long)
many times to get odd-sounding "remixes" of the sample text.MarkovTextLimited A simple Markov chain text generator; it is called "Limited" because it only can be used as an order-1 Markov chain, meaning only one prior word is looked at.Messaging.Group Messaging.NounTrait Properties of nouns needed to correctly conjugate those nouns and refer to them with pronouns, such as genders.MonsterGen.Chimera A creature that can be mixed with other Chimeras or given additional descriptors, then printed in a usable format for game text.NaturalLanguageCipher Class that builds up a dictionary of words in an English-language source text to words generated by aFakeLanguageGen
, and can translate a source text to a similarly-punctuated, similarly-capitalized fake text; it will try to use variants on the translation of the same root word when it encounters conjugations of that root word or that root word with common English prefixes/suffixes.ObText A simple format parser for String-based configuration or data files where JSON is overkill.ObText.ContentMatcher ObText.ObTextEntry ProceduralMessaging.AssociatedName Data class that stores a name String and one or more Strings that may be used as part of a title with that name, typically using categories fromThesaurus
to add variety.StringConvert Used to standardize conversion for a given type,T
, to and from a serialized String format.Thesaurus A text processing class that can swap out occurrences of words and replace them with their synonyms. -
Classes in squidpony used by squidpony.squidgrid.mapping Class Description FakeLanguageGen A text generator for producing sentences and/or words in nonsense languages that fit a theme.