Skip to content

DrawnCopy beta ​

Interface of @v12-engine/client/lite-views

ts
export interface DrawnCopy

A copy of a shape set: put somewhere, given its colour, taken away

Members ​

remove ​

ts
remove(): void;

Takes it away: the set's last copy moved into its slot

set ​

ts
set(place: CopyPlace): void;

Puts it where place says: its place, its turns and its size

tint ​

ts
tint(colour: Rgb, share?: number): void;

Its colour, and how much of it is there (less than 1: dithered away where the set is told it may be)