Browse Source

NESTile now has width and height as parameters.

dev-tmpl
Bryan Miller 5 years ago
parent
commit
b6a3f83b50
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/js/models/NESTile.js

+ 3
- 0
app/js/models/NESTile.js View File

this.__data = new Uint8Array(16); this.__data = new Uint8Array(16);
} }


get width(){return 8;}
get height(){return 8;}

get pixels(){ get pixels(){
return new Proxy(this, { return new Proxy(this, {
get: function(obj, prop){ get: function(obj, prop){

Loading…
Cancel
Save