Class World

Class World

java.lang.Object
   |
   +----World

public class World
extends Object
Version:
1.0 Datatype for teh World
Author:
Nicklas Hjalmarsson

Method Index

 o createWorld()
Creates a gameworld to play in
 o distans(Area, Vector)
A pseudo function that tries to compute the distance between an Area and a vector of areas
 o divideCities(Playerinfo[])
Give each player a hometown
 o main(String[])
Use only for testing

Methods

 o createWorld
  public Area[][] createWorld()
Creates a gameworld to play in
 o distans
  public int distans(Area a1,
                     Vector as)
A pseudo function that tries to compute the distance between an Area and a vector of areas
 o divideCities
  public void divideCities(Playerinfo players[])
Give each player a hometown
 o main
  public static void main(String args[])
Use only for testing