mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-23 00:15:23 +00:00
9 lines
218 B
TypeScript
9 lines
218 B
TypeScript
export interface Layer {
|
|
init?: () => void;
|
|
tick?: () => void;
|
|
renderLayer?: (context: CanvasRenderingContext2D) => void;
|
|
shouldTransform?: () => boolean;
|
|
redraw?: () => void;
|
|
profileName?: () => string;
|
|
}
|