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));
        }
Beispiel #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));
            }
        }