TileInfo

Description

This will be a struct which will hold info about tiles in a level section. Also, these will be used to test collisions with the player on the color map tiles using the CollisionCategory member.

Relationships

Members

  • string path - the path to where the image for the tile is located
  • Vector2 position - where the tile should be drawn onscreen
  • CollisionCategory category - the bounding box/ray that will be used for collision detection
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License