Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
ChangeFacingEvent Struct Reference

#include <event.hpp>

Public Member Functions

 ChangeFacingEvent ()
 
 ChangeFacingEvent (EntityID entity_to_change_face, glm::vec3 facing)
 
 DEF_SERIALIZE (Archive &ar, const unsigned int version)
 some velocity / movement information... More...
 

Data Fields

glm::vec3 facing
 
EntityID entity_to_change_face
 

Detailed Description

Event for an entity changing their facing direction

Constructor & Destructor Documentation

◆ ChangeFacingEvent() [1/2]

ChangeFacingEvent::ChangeFacingEvent ( )
inline

◆ ChangeFacingEvent() [2/2]

ChangeFacingEvent::ChangeFacingEvent ( EntityID  entity_to_change_face,
glm::vec3  facing 
)
inline

Member Function Documentation

◆ DEF_SERIALIZE()

ChangeFacingEvent::DEF_SERIALIZE ( Archive &  ar,
const unsigned int  version 
)
inline

some velocity / movement information...

Field Documentation

◆ entity_to_change_face

EntityID ChangeFacingEvent::entity_to_change_face

◆ facing

glm::vec3 ChangeFacingEvent::facing

The documentation for this struct was generated from the following file: