Move ChunkDB to dbchunkpool.py
This commit is contained in:
parent
59c3f6e34e
commit
f5166319e1
4 changed files with 10 additions and 6 deletions
|
|
@ -1,6 +0,0 @@
|
|||
class ChunkDB():
|
||||
"""
|
||||
Load and save chunks to a SQLite db.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
import sys
|
||||
import threading
|
||||
|
||||
# import fron chunks, maps, clientchunkpool
|
||||
|
||||
class Client():
|
||||
def __init__(self, address):
|
||||
self.address = address
|
||||
|
|
|
|||
|
|
@ -1,5 +1,12 @@
|
|||
from .chunks.py import ChunkPool
|
||||
|
||||
class ChunkDB():
|
||||
"""
|
||||
Load and save chunks to a SQLite db.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
class DBChunkPool(ChunkPool):
|
||||
"""
|
||||
A ChunkPool that can load/save chunks from/to a database.
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
# import from chunks, dbchunkpool
|
||||
Loading…
Add table
Add a link
Reference in a new issue