public Material(Material m) { this.boilPoint = m.boilPoint; this.meltPoint = m.meltPoint; this.density = m.density; this.moleculeList = m.moleculeList; this.name = m.name; }
public Tile(Material m) { this.fixtureLibrary = new List<Fixture>(); this.material = m; if (m.density < 1.5f) //If not too dense { isPassable = true; } }
public Tile(bool passable, Material mat, int image, bool roomable, bool transparent) { this.itemList = new List<Item>(); this.scentIdentifier = new List<string>(); this.scentMagnitude = new List<int>(); this.fixtureLibrary = new List<Fixture>(); this.temperature = ROOMTEMP; //20 Celsius = 68 Fahrenheit this.isPassable = passable; material = mat; tileImage = image; isRoomable = roomable; isTransparent = transparent; hasBeenSeen = false; adjacentToRoomN = 0; }