|
Colobot
|
Scoreboard rule for destroying other objects. More...
#include <src/level/scoreboard.h>

Public Member Functions | |
| void | Read (CLevelParserLine *line) override |
| Read from line in scene file. | |
Public Member Functions inherited from CObjectCondition | |
| bool | CheckForObject (CObject *obj) |
| Checks if this condition is met. | |
| int | CountObjects () |
| Count all object matching the conditions. | |
Public Attributes | |
| bool | friendlyFire = false |
Public Attributes inherited from CScoreboard::CScoreboardRule | |
| int | score = 0 |
Public Attributes inherited from CObjectCondition | |
| 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 |
Scoreboard rule for destroying other objects.
|
overridevirtual |
Read from line in scene file.
Reimplemented from CScoreboard::CScoreboardRule.