예제 #1
0
        public void OnNewMap(Game game)
        {
            //Increase holding model size limit if inf id is supported
            HoldingModel model = (HoldingModel)game.ModelCache.Get("holding");

            model.resetMaxScale();
        }
예제 #2
0
        public void OnNewMap(Game game)
        {
            //Increase holding model size limit if inf id is supported
            IModel model = (HoldingModel)game.ModelCache.Get("holding");

            if (model is HoldingModel)
            {
                HoldingModel holding = (HoldingModel)model;
                holding.resetMaxScale();
            }
        }