Cleaning
This commit is contained in:
1 parent
f74da858ed
commit
e8731bf370
18 files changed
+42
-51
No files matched your search
@@ -0,0 +1,21 @@
|
||||
from enum import Enum
|
||||
from colony.core.roles.role import Role
|
||||
from colony.core.roles.unit.role import Unit
|
||||
|
||||
|
||||
class Foreman(Role):
|
||||
CONTINUOUS = True
|
||||
LOOP_SECONDS_WAIT = 60
|
||||
|
||||
class COMMANDS(Enum):
|
||||
pass
|
||||
|
||||
def __init__(self, context):
|
||||
commands = {
|
||||
|
||||
}
|
||||
|
||||
super().__init__(commands, context)
|
||||
|
||||
def loop(self):
|
||||
self.context.self().execute(Unit.COMMANDS.SET_ROLES, ['Unit', 'Foreman', 'Explorer', 'VaultWarden'])
|
||||
Reference in new issue
Block a user