Uses of Class
squidpony.squidmath.RNG

Packages that use RNG 
Package Description
squidpony
Utilities that don't fit elsewhere in SquidLib; mostly text manipulation, compression, and helper code.
squidpony.squidmath
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
  • Uses of RNG in squidpony

    Methods in squidpony with parameters of type RNG 
    Modifier and Type Method Description
    MonsterGen.Chimera MonsterGen.Chimera.mix​(RNG rng, String newName, MonsterGen.Chimera other, double otherInfluence)
    Fuse two Chimera objects by some fraction of influence, using the given RNG and possibly renaming the creature.
    MonsterGen.Chimera MonsterGen.randomize​(RNG rng, String newName, int detail)
    Randomly add appearance and power descriptors to a new Chimera creature with random body part adjectives.
    MonsterGen.Chimera MonsterGen.randomizeAppearance​(RNG rng, MonsterGen.Chimera creature, String newName, int adjectiveCount)
    Randomly add appearance descriptors to a copy of the Chimera creature.
    MonsterGen.Chimera MonsterGen.randomizePowers​(RNG rng, MonsterGen.Chimera creature, String newName, int powerCount)
    Randomly add power descriptors to a copy of the Chimera creature.
    String MonsterGen.randomName​(RNG rng)
    Gets a random name as a String using FakeLanguageGen.
  • Uses of RNG in squidpony.squidmath

    Subclasses of RNG in squidpony.squidmath 
    Modifier and Type Class Description
    class  CriticalRNG
    A type of RNG that can generate values larger or smaller than the normal maximum or minimum, based on a modifier.
    class  DeckRNG
    An RNG variant that has 16 possible grades of value it can produce and shuffles them like a deck of cards.
    class  DharmaRNG
    An alteration to a RandomnessSource that attempts to produce values that are perceived as fair to an imperfect user.
    class  EditRNG
    A subclass of StatefulRNG (and thus RNG) that allows customizing many parts of the random number generation.
    class  StatefulRNG
    A slight variant on RNG that always uses a stateful RandomessSource and so can have its state set or retrieved using setState() or getState().
    Methods in squidpony.squidmath that return RNG 
    Modifier and Type Method Description
    RNG RNG.copy()
    Creates a copy of this RNG; it will generate the same random numbers, given the same calls in order, as this RNG at the point copy() is called.