broke out library to its own js file and implimented modules

This commit is contained in:
2025-08-18 16:50:40 -06:00
parent 5de0ea7f8a
commit 7b3aa42ef8
4 changed files with 20 additions and 11 deletions

13
library.js Normal file
View File

@@ -0,0 +1,13 @@
import { pec } from './pecslib.js';
// Populate Library
var library = [];
library.push(new pec("No","images/cards_conversation_no.svg"));
library.push(new pec("Up",""));
library.push(new pec("More",""));
library.push(new pec("Drink","images/cards_food_thirsty.svg"));
library.push(new pec("Food","images/cards_food_hungry.svg"));
library.push(new pec("Toy",""));
// add more here
export { library as library };