コード例 #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);
        }