Server & Game refactor basics
This commit is contained in:
14
events/event.py
Normal file
14
events/event.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Game imports
|
||||
from serializable import Serializable
|
||||
from entities.entity import Entity
|
||||
|
||||
# Native imports
|
||||
import json
|
||||
import uuid
|
||||
|
||||
class Event(Serializable):
|
||||
def __init__(self, location:str):
|
||||
super().__init__()
|
||||
self.id = str(uuid.uuid4())
|
||||
self.location = location
|
||||
self.description = ""
|
||||
Reference in New Issue
Block a user