Nostalgia
2.1.5
|
Class for Collider to combine. More...
Public Member Functions | |
void | UpdateCollider () |
Static Public Member Functions | |
static Point2 | CellPosColliderPos (Point2 cellPos) |
Converts the position of Cell to the position of MapCollider. More... | |
static Point2 | CellToColliderPos (Cell cell) |
Converts the Cell to the position of MapCollider. More... | |
Public Attributes | |
const int | colliderWidth = 16 |
Number of cells on each side More... | |
bool | dirty = false |
The dirty. More... | |
Properties | |
Tile | tile [get] |
Types of tiles to combine More... | |
Point2 | position [get] |
The position. More... | |
Map | map [get] |
Map to which they belong. More... | |
bool | hasCells [get] |
Whether this chunk has cells More... | |
PolygonCollider2D | polygonCollider [get] |
PolygonCollider 2D as a result of combining. More... | |
Class for Collider to combine.
Converts the position of Cell to the position of MapCollider.
cellPos | Cell position. |
Converts the Cell to the position of MapCollider.
cellPos | Cell position. |
void UpdateCollider | ( | ) |
const int colliderWidth = 16 |
Number of cells on each side
bool dirty = false |
The dirty.
|
get |
Whether this chunk has cells
|
get |
PolygonCollider 2D as a result of combining.
|
get |
The position.
|
get |
Types of tiles to combine