Orxonox  0.0.5 Codename: Arcturus
Modules | Files | Classes | Enumerations
Triggers

Triggers are objects which react to certain events. More...

Modules

 Trigger
 Triggers are objects which react to certain events by changing their boolean state.
 
 MultiTrigger
 MultiTriggers are (as they are Triggers) objects which react to certain events.
 

Files

file  DistanceTriggerBeacon.cc
 Implementation of the DistanceTriggerBeacon class.
 
file  DistanceTriggerBeacon.h
 Definition of the DistanceTriggerBeacon class.
 
file  PlayerTrigger.h
 Definition of the PlayerTrigger class.
 
file  TriggerBase.cc
 Implementation of the TriggerBase class.
 
file  TriggerBase.h
 Definition of the TriggerBase class.
 

Classes

class  orxonox::DistanceTriggerBeacon
 A DistanceTriggerBeacon can be used together with a DistanceTrigger or a DistanceMultiTrigger to make them only react to specific objects. More...
 
class  orxonox::PlayerTrigger
 PlayerTrigger is an interface if implemented by a specific trigger can be used to recover the Player (or the Pawn) that triggered it. More...
 
class  orxonox::TriggerBase
 The TriggerBase class is a base class for the two types of triggers, the (normal) Triggers and the MultiTriggers, it encompasses the shared data and functionality between these two types of triggers, but is in itself not a trigger that has any meaningful behavior and thus should not be instantiated. More...
 

Enumerations

enum  orxonox::TriggerMode { orxonox::TriggerMode::EventTriggerAND, orxonox::TriggerMode::EventTriggerOR, orxonox::TriggerMode::EventTriggerXOR }
 The different modes the trigger can be in. More...
 

Detailed Description

Triggers are objects which react to certain events.

They can be combined and used as simple overlay logic in levels.

Enumeration Type Documentation

enum orxonox::TriggerMode
strong

The different modes the trigger can be in.

Enumerator
EventTriggerAND 

The and mode. The trigger can only trigger if all the children are active.

EventTriggerOR 

The or mode. The trigger can only trigger if at least one child is active.

EventTriggerXOR 

The xor mode. The trigger can only trigger if exactly one child is active.