Module Player

API for interacting with the player.

Functions

GetTearDamage (self) Get current tear damage.
GetShotSpeed (self) Get current shot speed.
GetSpeed (self) Get current speed.
GetHearts (self) Get current health (red, counted in half hearts).

Tables

Position Position of the player.


Functions

GetTearDamage (self)
Get current tear damage.

Parameters:

  • self The Player object to be modified.

Returns:

    number
GetShotSpeed (self)
Get current shot speed.

Parameters:

  • self The Player object to be modified.

Returns:

    number
GetSpeed (self)
Get current speed.

Parameters:

  • self The Player object to be modified.

Returns:

    number
GetHearts (self)
Get current health (red, counted in half hearts).

Parameters:

  • self The Player object to be modified.

Returns:

    number

Tables

Position
Position of the player.
generated by LDoc 1.4.3 Last updated 2016-05-01 23:18:39