connection(), playerConnection(), allyConnection(), areaConnection(), enemyCollection()

These are constructors that define the type of connection. collection() connects any areas while the others are specific to which areas can connect.

percentage(int)

This method is used to cut down on how many connections are generated. So, if there are 10 possible connections and you use this method with the number 50 then only 5 connections will be generated randomly.

addArea(area)

This method should only be used when connection() was used as the constructor. It adds an area that will be used for a connection.

Last modified 16 years ago Last modified on Feb 23, 2008, 4:19:01 AM
Note: See TracWiki for help on using the wiki.