Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WorldTile

Representation of a block of a world

Hierarchy

  • WorldTile

Index

Properties

bg

bg: number

The background block

Optional doorClosed

doorClosed: boolean

Whehter or not the door is closed

Optional doorDestination

doorDestination: string

The world destination of a block. (For doors)

Optional doorID

doorID: string

The ID of the door

fg

fg: number

The forground block

Optional hitsTaken

hitsTaken: number

The amount of hits a block has taken

Optional isDoor

isDoor: boolean

Whether or not the block represents a door

Optional label

label: string

The label of the block

Optional resetAfter

resetAfter: number

The date on when the breakHits shall reset. (You would have to implement it yourself.)

x

x: number

The position of the block on the X axis of the world

y

y: number

The position of the block on the Y axis of the world

Generated using TypeDoc