Move ChunkDB to dbchunkpool.py

This commit is contained in:
Joscha 2017-04-04 20:23:41 +00:00
parent 59c3f6e34e
commit f5166319e1
4 changed files with 10 additions and 6 deletions

View file

@ -1,6 +0,0 @@
class ChunkDB():
"""
Load and save chunks to a SQLite db.
"""
pass

View file

@ -1,6 +1,8 @@
import sys import sys
import threading import threading
# import fron chunks, maps, clientchunkpool
class Client(): class Client():
def __init__(self, address): def __init__(self, address):
self.address = address self.address = address

View file

@ -1,5 +1,12 @@
from .chunks.py import ChunkPool from .chunks.py import ChunkPool
class ChunkDB():
"""
Load and save chunks to a SQLite db.
"""
pass
class DBChunkPool(ChunkPool): class DBChunkPool(ChunkPool):
""" """
A ChunkPool that can load/save chunks from/to a database. A ChunkPool that can load/save chunks from/to a database.

View file

@ -0,0 +1 @@
# import from chunks, dbchunkpool