Zhimolostnova A.V. Lab work 4 #4

Merged
eegov merged 5 commits from LabRab_4 into LabRab_3 2022-10-21 09:15:50 +04:00
Showing only changes of commit 1bf55f260e - Show all commits

View File

@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Warship
{
internal class MapsCollection
{
readonly Dictionary<string, MapWithSetWarshipsGeneric<DrawingObjectWarship, AbstractMap>> _mapStorages;
public List<string> Keys => _mapStorages.Keys.ToList();
private readonly int _pictureWidth;
private readonly int _pictureHeight;
public MapsCollection(int pictureWidth,int pictureHeight)
{
_mapStorages = new Dictionary<string, MapWithSetWarshipsGeneric<DrawingObjectWarship, AbstractMap>>;
_pictureWidth = pictureWidth;
_pictureHeight = pictureHeight;
}
public void AddMap(string name,AbstractMap map)
{
//todo
}
public void DelMap(string name)
Review

В классе с логикой не выводят сообщения

В классе с логикой не выводят сообщения
{
}
public MapWithSetWarshipsGeneric<DrawingObjectWarship,AbstractMap> this[string ind]
{
get
{
//todo
return null;
}
}
}
}