Class World
Class World
java.lang.Object
|
+----World
- public class World
- extends Object
- Version:
- 1.0
Datatype for teh World
- Author:
- Nicklas Hjalmarsson
-
createWorld()
- Creates a gameworld to play in
-
distans(Area, Vector)
- A pseudo function that tries to compute the distance between an Area and a vector of areas
-
divideCities(Playerinfo[])
- Give each player a hometown
-
main(String[])
- Use only for testing
createWorld
public Area[][] createWorld()
- Creates a gameworld to play in
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
divideCities
public void divideCities(Playerinfo players[])
- Give each player a hometown
main
public static void main(String args[])
- Use only for testing