Constructor


Solid(filled: any, x: any, y: any, width: any, height: any)

Arguments:

filled: any
x: any
y: any
width: any
height: any




Methods


Solid:doMoveAmount(amount: any, x_mult: any, y_mult: any)

Arguments:

amount: any
x_mult: any
y_mult: any

Returns:

1: boolean




Solid:move(x: any, y: any, speed: any)

Arguments:

x: any
y: any
speed: any

Returns:

1: boolean|nil


Solid:moveTo(x: any, y: any)

Arguments:

x: any
y: any

Returns:

1: boolean|nil


Solid:onSquished(soul: any)

Arguments:

soul: any



Fields



Undocumented







Solid.color: table

Default to arena green



Solid.draw_collider: boolean

Draw the filled collider







Solid.squish_damage: integer

Damage applied to the soul when its squished against another solid by this one