Ejemplo n.º 1
0
 public Material(Material m)
 {
     this.boilPoint = m.boilPoint;
     this.meltPoint = m.meltPoint;
     this.density = m.density;
     this.moleculeList = m.moleculeList;
     this.name = m.name;
 }
Ejemplo n.º 2
0
 public Tile(Material m)
 {
     this.fixtureLibrary = new List<Fixture>();
     this.material = m;
     if (m.density < 1.5f) //If not too dense
     {
         isPassable = true;
     }
 }
Ejemplo n.º 3
0
 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;
 }