MUD

by IPWright83

JavaScript

class Room {
	constructor(id) {
    this.id = id;
    this.image = "";
    this.name = "The Name of the Room";
    this.description = "The Description of the Room";
    this.navigation = {
    	n: 0,
      s: 0,
      e: 0,
      w: 0,
      ne: 0,
      nw: 0,
      se: 0,
      sw: 0,
      u: 0,
      d: 0
    };
    this.people = [];
    this.monsters = [];
    this.inventory = [];
  }
};