|
| CProgrammableObjectImpl (ObjectInterfaceTypes &types, CObject *object) |
|
bool | EventProcess (const Event &event) |
|
bool | IsProgram () override |
| Check if a program is running. More...
|
|
void | RunProgram (Program *program) override |
| Start a program. More...
|
|
Program * | GetCurrentProgram () override |
| Returns the currently running program, or nullptr if no program is running. More...
|
|
void | StopProgram () override |
| Stop currently running program. More...
|
|
bool | ReadStack (FILE *file) override |
| Read current execution status from file. More...
|
|
bool | WriteStack (FILE *file) override |
| Save current execution status to file. More...
|
|
void | TraceRecordStart () override |
| Start recording trace. More...
|
|
void | TraceRecordStop () override |
| Stop recording trace and generate CBot program. More...
|
|
bool | IsTraceRecord () override |
| Returns true if trace recording is in progress. More...
|
|
void | SetActivity (bool activity) override |
| Management of object "activity" (temporairly stops program execution, right now used only by Aliens in eggs) More...
|
|
bool | GetActivity () override |
|
void | SetCmdLine (unsigned int rank, float value) |
|
float | GetCmdLine (unsigned int rank) override |
| Returns program cmdline values for an object. More...
|
|
std::vector< float > & | GetCmdLine () |
|
| CProgrammableObject (ObjectInterfaceTypes &types) |
|
bool CProgrammableObjectImpl::IsProgram |
( |
| ) |
|
|
overridevirtual |
void CProgrammableObjectImpl::RunProgram |
( |
Program * |
program | ) |
|
|
overridevirtual |
Program * CProgrammableObjectImpl::GetCurrentProgram |
( |
| ) |
|
|
overridevirtual |
Returns the currently running program, or nullptr if no program is running.
Implements CProgrammableObject.
void CProgrammableObjectImpl::StopProgram |
( |
| ) |
|
|
overridevirtual |
bool CProgrammableObjectImpl::ReadStack |
( |
FILE * |
file | ) |
|
|
overridevirtual |
bool CProgrammableObjectImpl::WriteStack |
( |
FILE * |
file | ) |
|
|
overridevirtual |
void CProgrammableObjectImpl::TraceRecordStart |
( |
| ) |
|
|
overridevirtual |
void CProgrammableObjectImpl::TraceRecordStop |
( |
| ) |
|
|
overridevirtual |
bool CProgrammableObjectImpl::IsTraceRecord |
( |
| ) |
|
|
overridevirtual |
void CProgrammableObjectImpl::SetActivity |
( |
bool |
bMode | ) |
|
|
overridevirtual |
Management of object "activity" (temporairly stops program execution, right now used only by Aliens in eggs)
Implements CProgrammableObject.
float CProgrammableObjectImpl::GetCmdLine |
( |
unsigned int |
rank | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- /build/colobot-4LMcse/colobot-0.1.8/src/object/implementation/programmable_impl.h
- /build/colobot-4LMcse/colobot-0.1.8/src/object/implementation/programmable_impl.cpp