intficpy.daemons module¶
-
class
intficpy.daemons.Daemon(game, func)¶ Bases:
intficpy.ifp_object.IFPObjectWhile active, a Daemon’s func is run every turn. Properties added to a Daemon object will be saved/loaded, provided they are serializable, and can be added so a Daemon can track its own state.
-
onAdd()¶
-
onRemove()¶
-
-
class
intficpy.daemons.DaemonManager(game)¶ Bases:
intficpy.ifp_object.IFPObject-
add(daemon)¶
-
remove(daemon)¶
-
runAll(game)¶
-