Annwvyn::AnnTriggerEvent Class Reference

Trigger in/out event. More...

#include <AnnEvents.hpp>

Inheritance diagram for Annwvyn::AnnTriggerEvent:
Collaboration diagram for Annwvyn::AnnTriggerEvent:

Public Member Functions

 AnnTriggerEvent ()
 Construct a trigger in/out event. More...
 
bool getContactStatus () const
 Return true if if there's collision. More...
 
AnnTriggerObjectgetSender () const
 Pointer to the trigger that have sent this event. More...
 
- Public Member Functions inherited from Annwvyn::AnnEvent
 AnnEvent ()
 Event constructor. More...
 
AnnEventType getType () const
 

Private Attributes

bool contact
 
AnnTriggerObjectsender
 

Friends

class AnnEventManager
 

Additional Inherited Members

- Protected Attributes inherited from Annwvyn::AnnEvent
AnnEventType type
 

Detailed Description

Trigger in/out event.

Definition at line 409 of file AnnEvents.hpp.

Constructor & Destructor Documentation

◆ AnnTriggerEvent()

AnnTriggerEvent::AnnTriggerEvent ( )

Construct a trigger in/out event.

Definition at line 501 of file AnnEvents.cpp.

Member Function Documentation

◆ getContactStatus()

bool AnnTriggerEvent::getContactStatus ( ) const

Return true if if there's collision.

Definition at line 509 of file AnnEvents.cpp.

◆ getSender()

AnnTriggerObject * AnnTriggerEvent::getSender ( ) const

Pointer to the trigger that have sent this event.

Definition at line 514 of file AnnEvents.cpp.

Friends And Related Function Documentation

◆ AnnEventManager

friend class AnnEventManager
friend

Definition at line 420 of file AnnEvents.hpp.

Member Data Documentation

◆ contact

bool Annwvyn::AnnTriggerEvent::contact
private

Definition at line 421 of file AnnEvents.hpp.

◆ sender

AnnTriggerObject* Annwvyn::AnnTriggerEvent::sender
private

Definition at line 422 of file AnnEvents.hpp.


The documentation for this class was generated from the following files: