Skip to content

Level Builder Design

embronk edited this page Apr 5, 2022 · 12 revisions

Overview

The level builder will allow the player to set where the enemy, neutral, and player cities are and decide on the season.

File Format

File Format

  • File will be in binary.
  • File will begin with the string "Level" to prove that it is a proper save file of the game.
  • File will then have an integer X representing the number of items in the Entity List.
  • Following that, there will be X sections representing X entities.
    • Section will start with a string identifying the type of entity.
    • Section will then have two doubles representing the location coordinates.
    • There will be a char representing nationality.
    • There will be a string representing the season

Sample File

Links

Clone this wiki locally