| case "Gleed2D.InGame.TextureItemProperties":␍␊ |
| this.LoadTextureItem((TextureItemProperties)item.Properties, layer);␍␊ |
| break;␍␊ |
| case "Gleed2D.InGame.RectangleItemProperties":␍␊ |
| this.LoadRectangleItem((RectangleItemProperties)item.Properties, layer);␍␊ |
| break;␍␊ |
| case "Gleed2D.InGame.CircleItemProperties":␍␊ |
| this.LoadCircleItem((CircleItemProperties)item.Properties, layer);␍␊ |
| break;␍␊ |
| default:␍␊ |
| this.LoadOtherItem(item.Properties, item.PropertyType, layer);␍␊ |
| break;␍␊ |
|
| /// </summary>␍␊ |
| /// <param name="circleitem"></param>␍␊ |
| /// <returns></returns>␍␊ |
| public virtual bool LoadCircleItem(object circleitem)␍␊ |
| public virtual void LoadCircleItem(CircleItemProperties circleitem, Layer l)␍␊ |
| {␍␊ |
| return true;␍␊ |
| ␍␊ |
| }␍␊ |
| ␍␊ |
| public virtual void LoadPathItem(PathItemProperties pathitem, Layer l)␍␊ |
|
| PathItems[pathitem.Name] = p;␍␊ |
| }␍␊ |
| ␍␊ |
| public virtual bool LoadRectangleItem(object rectangleitem)␍␊ |
| public virtual void LoadRectangleItem(RectangleItemProperties rectangleitem, Layer l)␍␊ |
| {␍␊ |
| return true;␍␊ |
| ␍␊ |
| }␍␊ |
| ␍␊ |
| public virtual void LoadTextureItem(TextureItemProperties textureitem, Layer l)␍␊ |