Changed nameing scheme for classes of bluepixle_ui.js

This commit is contained in:
bluesaxman 2022-12-20 10:12:21 -07:00
parent 975daca5ca
commit ca816835f0

View File

@ -5,7 +5,7 @@ const RIGHT_KEY = "KeyD";
const ACT_KEY = "KeyE"; const ACT_KEY = "KeyE";
const MENU_KEY = "KeyQ"; const MENU_KEY = "KeyQ";
class menu { class bpu_menu {
constructor (frameBufferRef, dimentions, closeable, options, callbackArray) { constructor (frameBufferRef, dimentions, closeable, options, callbackArray) {
this.parentBuffer = frameBufferRef; this.parentBuffer = frameBufferRef;
this.closeable = "boolean" == typeof closeable ? closeable : true; this.closeable = "boolean" == typeof closeable ? closeable : true;
@ -63,7 +63,7 @@ class menu {
} }
} }
class dialogBox { class bpu_dialogBox {
constructor (parentBufferRef) { constructor (parentBufferRef) {
this.parentBufferRef = parentBufferRef; this.parentBufferRef = parentBufferRef;
this.messageLayer = new container(new vector([0, parentBufferRef.height - 100]), new vector([parentBufferRef.width, 100])); this.messageLayer = new container(new vector([0, parentBufferRef.height - 100]), new vector([parentBufferRef.width, 100]));