Constructor


Player(chara: any, x: any, y: any)

Arguments:

chara: any
x: any
y: any




Methods


Player:alignFollowers(facing: any, x: any, y: any, dist: any)

Arguments:

facing: any
x: any
y: any
dist: any


Player:beginSlide(last_state: any, in_place: any, lock_movement: any)

Arguments:

last_state: any
in_place: any
lock_movement: any




Player:endSlide(next_state: any)

Arguments:

next_state: any




Player:getDebugOptions(context: any)

Arguments:

context: any

Returns:

1: ContextMenu














Player:onAdd(parent: any)

Arguments:

parent: any


Player:onRemove(parent: any)

Arguments:

parent: any


Player:onRemoveFromStage(stage: any)

Arguments:

stage: any




Player:setActor(actor: any)

Arguments:

actor: any


Player:setState(state: any, : unknown)

Arguments:

state: any
: unknown













Fields



Undocumented















































































































Player.slide_sound: love.Source|nil

A Source represents audio you can play back.

You can do interesting things with Sources, like set the volume, pitch, and its position relative to the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources.

The Source controls (play/pause/stop) act according to the following state table.

Open in Browser