public DirtyObjectQueueSingleClient( DirtyObjectController parent, IPEndPoint connection)
        {
            this.parent = parent;
            this.connection = connection;

            MarkAllDirty();
        }
        public DirtyObjectQueueSingleClient(DirtyObjectController parent, IPEndPoint connection)
        {
            this.parent     = parent;
            this.connection = connection;

            MarkAllDirty();
        }
        //static NetReplicationController instance = new NetReplicationController();
        //public static NetReplicationController GetInstance(){ return instance; }

        public NetReplicationController(RpcController rpc)
        {
            this.rpc            = rpc;
            referencecontroller = new NetObjectReferenceController();
            if (rpc.isserver)
            {
                dirtyobjectcontroller = new DirtyObjectController(this, rpc.network, rpc);
            }
        }
 //static NetReplicationController instance = new NetReplicationController();
 //public static NetReplicationController GetInstance(){ return instance; }
 public NetReplicationController( RpcController rpc )
 {
     this.rpc = rpc;
     referencecontroller = new NetObjectReferenceController();
     if (rpc.isserver)
     {
         dirtyobjectcontroller = new DirtyObjectController( this, rpc.network, rpc );
     }
 }