Colobot
|
ObjectInterfaceType enum. More...
#include <cstddef>
#include <array>
Typedefs | |
using | ObjectInterfaceTypes = std::array< bool, static_cast< std::size_t >(ObjectInterfaceType::Max)> |
ObjectInterfaceType enum.
|
strong |
Type of interface that an object implements.
Enumerator | |
---|---|
Interactive | interactive objects can process events from event loop |
Transportable | objects that can be carried by robots or astronaut |
ProgramStorage | objects that store CBOT programs |
Programmable | objects that can be programmed in CBOT |
TaskExecutor | objects that can execute tasks (CTask classes) |
Jostleable | object that can be jostled |
Carrier | object that can carry other objects |
Powered | object powered with power cell |
Movable | objects that can move |
Flying | objects that can fly |
JetFlying | objects that can fly using a jet engine |
Controllable | objects that can be selected and controlled by the player |
PowerContainer | objects that hold power |
Ranged | objects that have a operation range to be displayed after pressing button in the UI |
TraceDrawing | objects that can draw wheel trace |
Damageable | objects that generate particles when hit |
Destroyable | objects that can be destroyed (base for Shielded and Fragile) |
Fragile | objects that are destroyed immediately after hit |
Shielded | objects that can be destroyed after the shield goes down to 0 |
ShieldedAutoRegen | shielded objects with auto shield regeneration |
Old | old objects, TODO: remove once no longer necessary |
Max | maximum value (for getting number of items in enum) |