Exemplo n.º 1
0
        //public Dictionary<String, String> Materials;

        public Slidewindow(Data.Cord loc, Data.Rot rot, Data.Size size, double frame)
        {
            this.Location = loc;
            this.Rotation = rot;
            this.Size     = size;
            this.Frame    = frame;
        }
Exemplo n.º 2
0
 public Fixedwindow(Data.Cord loc, Data.Rot rot, Data.Size size, double frame, Dictionary <String, String> materials)
 {
     this.Location  = loc;
     this.Rotation  = rot;
     this.Size      = size;
     this.Frame     = frame;
     this.Materials = materials;
 }
Exemplo n.º 3
0
        public Room(Data.Size size, Dictionary <Model.ModelType, Dictionary <string, string> > materials, Dictionary <StaticCompType, string> staticComp)
        {
            id            = Guid.NewGuid();
            this.Location = new Data.Cord();
            //this.Type = type;
            this.Size             = size;
            this.Components       = new List <Model.Modelable>();
            this.Sides            = new Dictionary <Data.SideCardinalDirection, List <Data.Side> >();
            this.Materials        = materials;
            this.StaticComponents = staticComp;

            foreach (Data.SideCardinalDirection sidePosition in Enum.GetValues(typeof(Data.SideCardinalDirection)))
            {
                Sides[sidePosition] = new List <Data.Side>();
            }

            InitializeSides();
        }
Exemplo n.º 4
0
 public Entrance(Data.Size size, Dictionary <Model.ModelType, Dictionary <string, string> > materials, Dictionary <StaticCompType, string> staticComp) : base(size, materials, staticComp)
 {
 }