Hatch Game Engine Documentation v1.4.0
The documentation for the Hatch Game Engine
Loading...
Searching...
No Matches
Function Class Reference

A function, defined in a HSL script. More...

Public Member Functions

BoundMethod Bind (value receiver, varargs ...)
 Binds a receiver, and optionally arguments, to a method.
BoundMethod BindArguments (varargs ...)
 Binds arguments to a method.

Detailed Description

A function, defined in a HSL script.

Member Function Documentation

◆ Bind()

BoundMethod Function.Bind ( value receiver,
varargs ...  )

Binds a receiver, and optionally arguments, to a method.

Parameters
receiverThe receiver to bind.
...The arguments to bind.
Returns
Returns a bound method.

◆ BindArguments()

BoundMethod Function.BindArguments ( varargs ... )

Binds arguments to a method.

Parameters
...The arguments to bind.
Returns
Returns a bound method.