2
from bee.segments import *
3
from libcontext.socketclasses import *
4
from libcontext.pluginclasses import *
6
class stop(bee.worker):
8
Stops the current hive. If "delobj" is True, delete any object bound to the hive.
9
In case of the top-level hive, this quits the game
12
trig = antenna("push", "trigger")
13
delobj = variable("bool")
14
parameter(delobj, True)
16
# Define the I/O names
18
"trig" : {"name": "Trigger"},
23
f.delobj.name = "Delete object"
26
raise NotImplementedError("sparta.actuators.stop has not been implemented yet")