Organizacja kodu
This commit is contained in:
parent
31a9e9109c
commit
b635de5a5f
@ -38,7 +38,6 @@ namespace CzokoŚmieciarka.WPF.Models
|
|||||||
{
|
{
|
||||||
_tiles[item.Location.X + item.Location.Y].Object = item;
|
_tiles[item.Location.X + item.Location.Y].Object = item;
|
||||||
}
|
}
|
||||||
_tiles[garbageCollectorWPF.Location.X + garbageCollectorWPF.Location.Y].Object.Image = new ImageBrush(new BitmapImage(new Uri(_tiles[garbageCollectorWPF.Location.X + garbageCollectorWPF.Location.Y].Object.ImagePath)));
|
|
||||||
garbageCollectorWPF.Move(_columns, garbageCollector);
|
garbageCollectorWPF.Move(_columns, garbageCollector);
|
||||||
_tiles[garbageCollectorWPF.Location.X + garbageCollectorWPF.Location.Y].Object.Image = MergedBitmaps(
|
_tiles[garbageCollectorWPF.Location.X + garbageCollectorWPF.Location.Y].Object.Image = MergedBitmaps(
|
||||||
new Bitmap(_tiles[garbageCollectorWPF.Location.X + garbageCollectorWPF.Location.Y].Object.ImagePath),
|
new Bitmap(_tiles[garbageCollectorWPF.Location.X + garbageCollectorWPF.Location.Y].Object.ImagePath),
|
||||||
|
Loading…
Reference in New Issue
Block a user