Annwvyn::AnnPlayerCollisionEvent Class Reference

Collision between the player and another object. More...

#include <AnnEvents.hpp>

Inheritance diagram for Annwvyn::AnnPlayerCollisionEvent:
Collaboration diagram for Annwvyn::AnnPlayerCollisionEvent:

Public Member Functions

 AnnPlayerCollisionEvent (AnnGameObject *collided)
 Constructor. More...
AnnGameObjectgetObject () const
 Get the object this event is about. More...
- Public Member Functions inherited from Annwvyn::AnnEvent
 AnnEvent ()
 Event constructor. More...
AnnEventType getType () const

Private Attributes

 Naked pointer to the collider. More...

Additional Inherited Members

- Protected Attributes inherited from Annwvyn::AnnEvent
AnnEventType type

Detailed Description

Collision between the player and another object.

Definition at line 395 of file AnnEvents.hpp.

Constructor & Destructor Documentation

◆ AnnPlayerCollisionEvent()

AnnPlayerCollisionEvent::AnnPlayerCollisionEvent ( AnnGameObject collided)


Definition at line 454 of file AnnEvents.cpp.

Member Function Documentation

◆ getObject()

AnnGameObject * AnnPlayerCollisionEvent::getObject ( ) const

Get the object this event is about.

Definition at line 461 of file AnnEvents.cpp.

Member Data Documentation

◆ col

AnnGameObject* Annwvyn::AnnPlayerCollisionEvent::col

Naked pointer to the collider.

Definition at line 405 of file AnnEvents.hpp.

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