mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-27 07:26:33 +01:00
20 lines
278 B
Text
20 lines
278 B
Text
|
function Note() constructor {
|
||
|
content = [];
|
||
|
w = 256;
|
||
|
h = 256;
|
||
|
|
||
|
static draw = function() {
|
||
|
|
||
|
}
|
||
|
|
||
|
static serialize = function() {
|
||
|
var _dat = {};
|
||
|
_dat.content = [];
|
||
|
return _dat;
|
||
|
}
|
||
|
|
||
|
static deserialize = function(_dat) {
|
||
|
content = _dat.content;
|
||
|
return self;
|
||
|
}
|
||
|
}
|