Exemple #1
0
        public Route AddImmediate(string path, Route.RouteHandler handler)
        {
            var route = Add(path, handler);

            route.DispatchOnGameThread = false;
            return(route);
        }
Exemple #2
0
        //----------------------------------------------------------------------------------------------------

        public Route Add(string path, Route.RouteHandler handler)
        {
            var route = new Route()
            {
                Path = path, Handler = handler
            };

            mRoutes.Add(route);
            mSorted = false;

            return(route);
        }