This website works better with JavaScript.
Home
Explore
Help
Sign In
ObsidianBlk
/
nespaint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
NESTile now has width and height as parameters.
dev-tmpl
Bryan Miller
5 years ago
parent
9513a05ada
commit
b6a3f83b50
1 changed files
with
3 additions
and
0 deletions
Split View
Show Diff Stats
+3
-0
app/js/models/NESTile.js
+ 3
- 0
app/js/models/NESTile.js
View File
@@ -30,6 +30,9 @@ export default class NESTile{
this.__data = new Uint8Array(16);
}
get width(){return 8;}
get height(){return 8;}
get pixels(){
return new Proxy(this, {
get: function(obj, prop){
Write
Preview
Loading…
Cancel
Save