70 virtual bool GetActivity() = 0;
74 virtual float GetCmdLine(
unsigned int rank) = 0;
virtual void SetActivity(bool bMode)=0
Management of object "activity" (temporairly stops program execution, right now used only by Aliens i...
virtual bool IsProgram()=0
Check if a program is running.
virtual void StopProgram()=0
Stop currently running program.
virtual bool WriteStack(FILE *file)=0
Save current execution status to file.
Interface for programmable objects.
Definition: programmable_object.h:36
virtual bool IsTraceRecord()=0
Returns true if trace recording is in progress.
objects that can be programmed in CBOT
ObjectInterfaceType enum.
virtual Program * GetCurrentProgram()=0
Returns the currently running program, or nullptr if no program is running.
virtual void TraceRecordStop()=0
Stop recording trace and generate CBot program.
virtual void TraceRecordStart()=0
Start recording trace.
virtual float GetCmdLine(unsigned int rank)=0
Returns program cmdline values for an object.
virtual void RunProgram(Program *program)=0
Start a program.
virtual bool ReadStack(FILE *file)=0
Read current execution status from file.
Definition: program_storage_object.h:31