Пример #1
0
        private void AddKey(int x, int y, Key key)
        {
            var location = new MapLocation(_data, x, y);

            location.AddThing(key == Key.Silver ? Actor.SilverKey.ClassName : Actor.GoldKey.ClassName);
        }
Пример #2
0
        private void AddBlocker(int x, int y)
        {
            var location = new MapLocation(_data, x, y);

            location.AddThing(Actor.TableWithChairs.ClassName);
        }
Пример #3
0
        private void AddStart(int x, int y)
        {
            var location = new MapLocation(_data, x, y);

            location.AddThing(Actor.Player1Start.ClassName);
        }