A B C E F G H I L M N O R T U W

A

addMapTile(MapTileLocation, MapTile) - Method in class org.flexgen.map.MapGenerator
Add a map tile to the map at the specified location.
addMapTileAddedListener(MapTileAddedListener) - Method in class org.flexgen.map.MapGenerator
Add a new listener for the event of adding a map tile to the map.
addOption(T, int) - Method in class org.flexgen.util.Chooser
Add an option that can be randomly chosesn.

B

BOTTOM - Static variable in class org.flexgen.map.MapTileEdgePosition
Position of the bottom edge of the map tile.

C

choose() - Method in class org.flexgen.util.Chooser
Randomly choose one option from the set of available options.
Chooser<T> - Class in org.flexgen.util
Class implementing logic for chosing a single option from among a number of options with different probabilities.
Chooser(ImprovedRandom) - Constructor for class org.flexgen.util.Chooser
Construct this class with the specified random number generator.
CLOCKWISE - Static variable in class org.flexgen.map.MapTileOrientation
Orientation where the tile is rotated 90 degrees clockwise.
COUNTER_CLOCKWISE - Static variable in class org.flexgen.map.MapTileOrientation
Orientation where the tile is rotated 90 degrees counter-clockwise.

E

equals(Object) - Method in class org.flexgen.map.MapTile
Determines whether or not this map tile is equal to another map tile.
equals(Object) - Method in class org.flexgen.map.MapTileEdge
Determines whether or not this map tile edge is equal to another map tile edge.
equals(Object) - Method in class org.flexgen.map.MapTileEdgePosition
Determines whether or not this map tile edge position is equal to another map tile edge position.
equals(Object) - Method in class org.flexgen.map.MapTileLocation
Determines whether or not this map tile location is equal to another map tile location.
equals(Object) - Method in class org.flexgen.map.MapTileOrientation
Determines whether or not this map tile orientation is equal to another map tile orientation.
equals(Object) - Method in class org.flexgen.map.MapTileType
Determines whether or not this map tile type is equal to another map tile type.
equals(Object) - Method in class org.flexgen.map.MapUnit
Determines whether or not this map unit is equal to another map unit.

F

FLIPPED - Static variable in class org.flexgen.map.MapTileOrientation
Orientation where the tile is flipped around 180 degrees.

G

generate() - Method in class org.flexgen.map.MapGenerator
Generate the map.
get(int) - Static method in class org.flexgen.map.MapTileEdgePosition
Get the map tile edge position that corresponds with the specified index.
getDistinctMapTileOrientations() - Method in class org.flexgen.map.MapTileType
Get the array of map tile orientations that specify the distinct orientations that are possible for this map tile type.
getIndex() - Method in class org.flexgen.map.MapTileEdgePosition
Get the index of the map tile edge position.
getMapTile(MapTileLocation) - Method in class org.flexgen.map.MapGenerator
Get the map tile at a specified location.
getMapTileEdge(MapTileEdgePosition) - Method in class org.flexgen.map.MapTile
Get the map tile edge at the specified position in this map tile.
getMapTileEdge(MapTileEdgePosition) - Method in class org.flexgen.map.MapTileType
Get the map tile edge at the specified position in this map tile type.
getMapTileLocation() - Method in class org.flexgen.map.MapTilePosition
Get the map tile location.
getMapTileOrientation() - Method in class org.flexgen.map.MapTilePosition
Get the map tile orientation.
getMapUnit(int, int) - Method in class org.flexgen.map.MapTile
Get the map unit at the specified coordinates in this map tile.
getMapUnit(int, int) - Method in class org.flexgen.map.MapTileType
Get the map unit at the specified coordinates in this map tile type.
getMaxX() - Method in class org.flexgen.map.MapGenerator
Get the largest possible X coordinate for map tiles in the map.
getMaxY() - Method in class org.flexgen.map.MapGenerator
Get the largest possible Y coordinate for map tiles in the map.
getMinX() - Method in class org.flexgen.map.MapGenerator
Get the smallest possible X coordinate for map tiles in the map.
getMinY() - Method in class org.flexgen.map.MapGenerator
Get the smallest possible Y coordinate for map tiles in the map.
getNeighborLocations() - Method in class org.flexgen.map.MapTileLocation
Get an array of map tile locations that are neighbors of this map tile location.
getOption() - Method in class org.flexgen.util.Option
Get the option represented by this class.
getSize() - Method in class org.flexgen.map.MapTileType
Get the size of the map unit array that defines this map tile type.
getTileSize() - Method in class org.flexgen.map.MapGenerator
Get the size of the map unit array that defines the map tile types used by this map generator.
getWeight() - Method in class org.flexgen.map.MapTileType
Get the weight value used to determine the probability of selecting this tile type when generating a map.
getX() - Method in class org.flexgen.map.MapTileLocation
Get the X coordinate of the map tile location.
getY() - Method in class org.flexgen.map.MapTileLocation
Get the Y coordinate of the map tile location.

H

hashCode() - Method in class org.flexgen.map.MapTile
Returns a hash code value for the object.
hashCode() - Method in class org.flexgen.map.MapTileEdge
Returns a hash code value for the object.
hashCode() - Method in class org.flexgen.map.MapTileEdgePosition
Returns a hash code value for the object.
hashCode() - Method in class org.flexgen.map.MapTileLocation
Returns a hash code value for the object.
hashCode() - Method in class org.flexgen.map.MapTileOrientation
Returns a hash code value for the object.
hashCode() - Method in class org.flexgen.map.MapTileType
Returns a hash code value for the object.
hashCode() - Method in class org.flexgen.map.MapUnit
Returns a hash code value for the object.

I

ImprovedRandom - Class in org.flexgen.util
Class implementing logic for an improved random number generator.
ImprovedRandom() - Constructor for class org.flexgen.util.ImprovedRandom
 

L

LEFT - Static variable in class org.flexgen.map.MapTileEdgePosition
Position of the left edge of the map tile.

M

MapGenerator - Class in org.flexgen.map
Class containing logic for randomly generating a map using a specified set of map tile types.
MapGenerator(ImprovedRandom, MapTileType[], int, int, int, int) - Constructor for class org.flexgen.map.MapGenerator
Construct a map generator.
MapTile - Class in org.flexgen.map
Class representing a map tile.
MapTile(MapTileType, MapTileOrientation) - Constructor for class org.flexgen.map.MapTile
Construct a map tile.
mapTileAdded(MapGenerator, MapTileLocation) - Method in interface org.flexgen.map.MapTileAddedListener
Informs the listener that a map tile has been added at the specified location.
MapTileAddedListener - Interface in org.flexgen.map
Interface defining a mechanism for being notified of a map tile being added to a map.
MapTileEdge - Class in org.flexgen.map
Class representing an edge for a map tile.
MapTileEdge(String) - Constructor for class org.flexgen.map.MapTileEdge
Construct a map tile edge.
MapTileEdgePosition - Class in org.flexgen.map
Class representing the positions of the four edges on a map tile.
MapTileLocation - Class in org.flexgen.map
Class representing the location of a map tile in a map.
MapTileLocation(int, int) - Constructor for class org.flexgen.map.MapTileLocation
Construct a map tile location.
MapTileOrientation - Class in org.flexgen.map
Class representing the various orientations that map tiles can have.
MapTilePosition - Class in org.flexgen.map
Class representing the location and orientation of a map tile in a map.
MapTilePosition(MapTileLocation, MapTileOrientation) - Constructor for class org.flexgen.map.MapTilePosition
Construct a map tile position.
MapTileType - Class in org.flexgen.map
Class representing types of map tiles that can be used in maps.
MapTileType(String, int, MapUnit[][], MapTileEdge[], MapTileOrientation[]) - Constructor for class org.flexgen.map.MapTileType
Construct a map tile type.
MapUnit - Class in org.flexgen.map
Class representing a map unit that can be used in map tiles.
MapUnit(String) - Constructor for class org.flexgen.map.MapUnit
Construct a map unit.

N

nextLong(long) - Method in class org.flexgen.util.ImprovedRandom
Get a random long between 0 (inclusive) and the specified value (exclusive).

O

Option<T> - Class in org.flexgen.util
Class representing an option that can be randomly selected from among a number of options with different probabilities.
Option(T, long, long) - Constructor for class org.flexgen.util.Option
Construct an option.
optionsAvailable() - Method in class org.flexgen.util.Chooser
Determine if any options with any weight have been added.
org.flexgen.map - package org.flexgen.map
Package containing classes related to maps.
org.flexgen.util - package org.flexgen.util
Package containing utility classes for the FlexGen project.

R

RIGHT - Static variable in class org.flexgen.map.MapTileEdgePosition
Position of the right edge of the map tile.

T

TOP - Static variable in class org.flexgen.map.MapTileEdgePosition
Position of the top edge of the map tile.
toString() - Method in class org.flexgen.map.MapTile
Get the string representation of this object.
toString() - Method in class org.flexgen.map.MapTileEdge
Get the string representation of this object.
toString() - Method in class org.flexgen.map.MapTileEdgePosition
Get the string representation of this object.
toString() - Method in class org.flexgen.map.MapTileLocation
Get the string representation of this object.
toString() - Method in class org.flexgen.map.MapTileOrientation
Get the string representation of this object.
toString() - Method in class org.flexgen.map.MapTileType
Get the string representation of this object.
toString() - Method in class org.flexgen.map.MapUnit
Get the string representation of this object.

U

UPRIGHT - Static variable in class org.flexgen.map.MapTileOrientation
Orientation where the tile is placed upright without any rotation.

W

withinRange(long) - Method in class org.flexgen.util.Option
Determine whether or not this option is within range of a specified value.

A B C E F G H I L M N O R T U W

FlexGen Home

Get FlexGen at SourceForge.net. Fast, secure and Free Open Source software downloads

Copyright © 2009 - Jeffrey J. Weston <jjweston@gmail.com>

All rights reserved. Use is subject to license terms.