Game class
Stores information on the game and players
Constructor
Take a list of (NOT NULL) players and create a map that suits the number of players.
If any player is null, throw an ArgumentNullException
Members
- Map (Map)
- Players (List)
- TurnIndex (int {get; private set;})
- StartGame (void)
- AdvanceTurn (void)
- And other methods needed for the above to work
Map class
Stores data on the map. Points connected to points.
Members
Options for data types of MapData
- Location[][] and have a fixed distance to each place (32-64) on read BedWars maps
- A node network (Better but more complicated)
More members
- GetDistanceBetween (int) - Really only for the node network option
Player class
Members
Location class
Base for all of the classes
Game class
Stores information on the game and players
Constructor
Take a list of (NOT NULL) players and create a map that suits the number of players.
If any player is null, throw an
ArgumentNullExceptionMembers
Map class
Stores data on the map. Points connected to points.
Members
Options for data types of MapData
More members
Player class
Members
Location class
Base for all of the classes