witam otóż mam problem i nie wiem jak go naprawić.
class bindDom {
constructor(){
}
}
class Map {
constructor(){
this.name = {},
this.max_x = 0,
this.max_y = 0,
this.collision = {},
this.img = {}
}
}
game = new class Game {
constructor(){
this.map = new Map();
this.bindDom = new bindDom();
}
functions(){
this.loadMap = loadMap;
}
start(){
this.functions();
this.bindDom().start;
}
}