Exemplo n.º 1
0
        public override void Initialize(CompProperties vprops)
        {
            base.Initialize(vprops);

            reloaderProp = vprops as CompProperties_Reloader;
            if (reloaderProp != null)
            {
                count = reloaderProp.roundPerMag;
            }
            else
            {
                Log.Warning("Could not find a CompProperties_Reloader for CompReloader.");
                count = 9876;
            }
        }
Exemplo n.º 2
0
        public override void Initialize( CompProperties vprops )
        {
            base.Initialize( vprops );

            reloaderProp = vprops as CompProperties_Reloader;
            if ( reloaderProp != null )
            {
                count = reloaderProp.roundPerMag;
            }
            else
            {
                Log.Warning( "Could not find a CompProperties_Reloader for CompReloader." );
                count = 9876;
            }
        }