Browse Source

Added a little code to main.js

dev-tmpl
Bryan Miller 5 years ago
parent
commit
d1b017f8ee
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      app/js/main.js

+ 3
- 1
app/js/main.js View File

import CTRLPainter from "/app/js/ctrls/CTRLPainter.js"; import CTRLPainter from "/app/js/ctrls/CTRLPainter.js";
import NESPalette from "/app/js/models/NESPalette.js"; import NESPalette from "/app/js/models/NESPalette.js";
import NESTile from "/app/js/models/NESTile.js"; import NESTile from "/app/js/models/NESTile.js";
import NESBank from "/app/js/models/NESBank.js";


function on_palette_changed(e){ function on_palette_changed(e){
if (e.type == "ALL"){ if (e.type == "ALL"){
console.log(TileC); console.log(TileC);
console.log(TileC.dataArray); console.log(TileC.dataArray);
console.log(TileC.pixels[7]); console.log(TileC.pixels[7]);

var bnk = new NESBank();
} }





Loading…
Cancel
Save