mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-07-10 10:23:05 +00:00
17 lines
253 B
JavaScript
17 lines
253 B
JavaScript
export const TAG = {
|
|
DEFAULT: "default",
|
|
TUFT: "tuft",
|
|
};
|
|
|
|
class Layer {
|
|
/**
|
|
* @param {string[][]} pixels
|
|
* @param {string} [tag]
|
|
*/
|
|
constructor(pixels, tag = TAG.DEFAULT) {
|
|
this.pixels = pixels;
|
|
this.tag = tag;
|
|
}
|
|
}
|
|
|
|
export default Layer; |