public Person(Residence house, ushort houseFloor) : base(house.coordinates.x, house.coordinates.y, houseFloor) { this.home = house; this.routine = new Routine(house); ThingsPackage.add(this); }
public Residence(float xCoordinate, float yCoordinate, float halfWidth, float halfHeight, ushort floorsNum) : base(xCoordinate, yCoordinate, halfWidth, halfHeight, floorsNum) { this.setOpenStatus(true); ThingsPackage.add(this); }
Virus(Person host) : base(host.coordinates) { ThingsPackage.add(this); host.virus = this; this.host = host; this.setIncubation(); }
public Corner(float xCoordinate, float yCoordinate, float halfWidth, Path path = null) : base(xCoordinate, yCoordinate, halfWidth, halfWidth) { ThingsPackage.add(this); if (path != null) { this.endPoints = new List <Accommodable> { path } } ; this.makePathNodes(); }
public Street(float xCoordinate, float yCoordinate, float halfWidth, float halfHeight, ushort orientation, Path path = null) : base(xCoordinate, yCoordinate, halfWidth, halfHeight) { ThingsPackage.add(this); if (path != null) { this.endPoints = new List <Accommodable> { path } } ; this.orientation = orientation; if (this.orientation == Defs.horizontal) { this.makeNodeQuadrature = this.makeHorizontalNodeQuadrature; } else { this.makeNodeQuadrature = this.makeVerticalNodeQuadrature; } this.makePathNodes(); }