Documentation / @debuffjp/tilemap / MoveResult
Interface: MoveResult
Defined in: collide.ts:11
Properties
hitCeiling
hitCeiling:
boolean
Defined in: collide.ts:19
Hit a ceiling while moving up.
hitLeft
hitLeft:
boolean
Defined in: collide.ts:21
Hit a wall on the left or right.
hitRight
hitRight:
boolean
Defined in: collide.ts:22
hitX
hitX:
boolean
Defined in: collide.ts:13
Blocked while moving horizontally.
hitY
hitY:
boolean
Defined in: collide.ts:15
Blocked while moving vertically.
onGround
onGround:
boolean
Defined in: collide.ts:17
Landed on something (solid or one-way) while moving down.