mirror of
https://github.com/Wesley-DeMontigny/WLUS.git
synced 2026-02-09 19:48:33 -06:00
Implemented Replica Service, Refactored Zones, Added All Client Map Resources, Changed The Way Scripting Works
22 lines
333 B
Python
22 lines
333 B
Python
import game_types
|
|
import threading
|
|
|
|
'''
|
|
Scripts can be attached to just about any object.
|
|
'''
|
|
|
|
class Script():
|
|
def __init__(self, parent, script_name :str = ""):
|
|
self._parent = parent
|
|
self._name : str = script_name
|
|
|
|
def get_name(self):
|
|
return self._name
|
|
|
|
def get_parent(self):
|
|
return self._parent
|
|
|
|
def run(self):
|
|
pass
|
|
|