Пример #1
0
        public ExitsDebugOverlayManager(Actor self, ExitsDebugOverlayManagerInfo info)
        {
            this.self = self;
            Info = info;

            if (!Game.Renderer.Fonts.TryGetValue(info.Font, out Font))
                throw new YamlException("Could not find font '{0}'".F(info.Font));
        }
Пример #2
0
        public ExitsDebugOverlayManager(Actor self, ExitsDebugOverlayManagerInfo info)
        {
            this.self = self;
            Info      = info;

            if (!Game.Renderer.Fonts.TryGetValue(info.Font, out Font))
            {
                throw new YamlException("Could not find font '{0}'".F(info.Font));
            }
        }