LevelSection

Description

This will be a struct which will hold info about level sections. There will be a array of these stored in the LevelManager to represent a level. The level sections are used to split up a level so that you can worry about a smaller portion of the level at a time. Also the pool manager can go through the sections to determine the minimum number of resources necessary for the level.

Relationships

Members

  • List<EnemyInfo> enemyInfo - a list of EnemyInfo structs
  • List<TileInfo> backgroundTiles - a list of TileInfo structs that make up the background
  • List<TileInfo> foregroundTiles - a list of TileInfo structs that make up the foreground
  • List<TileInfo> playAreaTiles - a list of TileInfo structs that make up the play area
  • List<TileInfo> playAreaColorMapTiles - a list of TileInfo structs that make up the play area color map
  • List<ObstacleInfo> obstacles - a list of ObstacleInfo structs
  • Vector3 checkpoint - the position of a checkpoint. Will be null if no checkpoint
  • Rectangle boundingBox - the box that represents this section.
  • List<CameraStopPoint> stoppingPoints - points in the level section that the camera will stop and you must defeat all enemies to continue
  • DialogueInfo dialogue - info about any dialogue in the section
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License