-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
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
- MapData
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
- Name (string)
Location class
Base for all of the classes