Constructor
Constructor
auths
argument is an array of the Auth
class.
world
argument is a single instance of the World
class.
boardId
is the canvas id shown on the URL. The most popular ones are 7 and 13.
constructor(
private auths: Auth[],
private world: World,
private boardId: number
)
IImageData
interface IImageData {
buffer: Buffer;
metadata: {
width: number;
height: number;
};
}
Last updated
Was this helpful?