Table of Contents

Class TiledMapCollisions.TileCollisionInfo

Namespace
MLEM.Extended.Tiled
Assembly
MLEM.Extended.dll

A tile collision info stores information about a tile at a given location on a given layer, including its objects and their bounds.

public class TiledMapCollisions.TileCollisionInfo : GenericDataHolder, IGenericDataHolder
Inheritance
TiledMapCollisions.TileCollisionInfo
Implements
Inherited Members

Fields

Collisions

The list of colliders for this tile

public readonly List<RectangleF> Collisions

Field Value

List<RectangleF>

Layer

The layer that this tile is on

public readonly TiledMapTileLayer Layer

Field Value

TiledMapTileLayer

Map

The map the tile is on

public readonly TiledMap Map

Field Value

TiledMap

Position

The position of the tile, in tile units

public readonly Vector2 Position

Field Value

Vector2

Tile

The tiled map tile

public readonly TiledMapTile Tile

Field Value

TiledMapTile

TilesetTile

The tileset tile for this tile

public readonly TiledMapTilesetTile TilesetTile

Field Value

TiledMapTilesetTile