Colobot
|
Base scene condition structure. More...
#include <scene_conditions.h>
Public Member Functions | |
virtual void | Read (CLevelParserLine *line) |
Read from line in scene file. More... | |
bool | Check () |
Checks if this condition is met. More... | |
Public Attributes | |
Math::Vector | pos = Math::Vector(0.0f, 0.0f, 0.0f)*g_unit |
float | dist = 8.0f*g_unit |
ObjectType | type = OBJECT_NULL |
float | powermin = -1 |
float | powermax = 100 |
ToolType | tool = ToolType::Other |
DriveType | drive = DriveType::Other |
bool | countTransported = true |
int | team = 0 |
int | min = 1 |
int | max = 9999 |
Protected Member Functions | |
int | CountObjects () |
Count all object matching the conditions. More... | |
Base scene condition structure.
|
virtual |
Read from line in scene file.
Reimplemented in CAudioChangeCondition, and CSceneEndCondition.
bool CSceneCondition::Check | ( | ) |
Checks if this condition is met.
|
protected |
Count all object matching the conditions.