Пример #1
0
        private void WaterOnTop()
        {
            var water = Carriers.FirstOrDefault(c => c.Name == Water.Name);
            var index = Carriers.IndexOf(water);

            if (index > 0)
            {
                Carriers.Move(index, 0);
            }
        }