Пример #1
0
        public MapWallMaterial AddWallMaterial(string key, string image_path)
        {
            var wm = new MapWallMaterial(key, image_path);

            wall_materials.Add(key, wm);
            return(wm);
        }
Пример #2
0
 /// <summary>
 /// コンストラクタ(コピー)
 /// </summary>
 /// <param name="copy_src"></param>
 public Wall(Wall copy_src)
 {
     map_x        = copy_src.map_x;
     map_y        = copy_src.map_y;
     material     = copy_src.material;
     panel        = copy_src.panel;
     height       = copy_src.height;
     direction_id = copy_src.direction_id;
 }