Public Member Functions

sp::tool::LogicGate Class Reference

#include <spStoryboardLogicGate.hpp>

Inheritance diagram for sp::tool::LogicGate:
sp::tool::Trigger

List of all members.

Public Member Functions

 LogicGate (const ELogicGates Type)
 ~LogicGate ()
bool active () const
 Returns true if any of the trigger's parents is already being triggered or this trigger has no parents.
bool needLoopUpdate () const
void setType (const ELogicGates Type)
ELogicGates getType () const

Constructor & Destructor Documentation

sp::tool::LogicGate::LogicGate ( const ELogicGates  Type  ) 
sp::tool::LogicGate::~LogicGate (  ) 

Member Function Documentation

bool sp::tool::LogicGate::active (  )  const [virtual]

Returns true if any of the trigger's parents is already being triggered or this trigger has no parents.

Returns true if this trigger is active. For this it must be triggerd and all its parents must be active.

Reimplemented from sp::tool::Trigger.

ELogicGates sp::tool::LogicGate::getType (  )  const [inline]
bool sp::tool::LogicGate::needLoopUpdate (  )  const [virtual]

Returns true if this trigger class needs to be updated every frame when it's active. By default false. Overwrite this function if you need a loop update.

Reimplemented from sp::tool::Trigger.

void sp::tool::LogicGate::setType ( const ELogicGates  Type  )  [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines