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

#include <event.hpp>

Public Member Functions

 StartActionEvent ()
 
 StartActionEvent (EntityID entity_to_act, glm::vec3 movement, ActionType action)
 
 DEF_SERIALIZE (Archive &ar, const unsigned int version)
 

Data Fields

EntityID entity_to_act
 
glm::vec3 movement
 
ActionType action
 

Detailed Description

Event for action to start for generic key pressed / Can be updated to action type enum later

Constructor & Destructor Documentation

◆ StartActionEvent() [1/2]

StartActionEvent::StartActionEvent ( )
inline

◆ StartActionEvent() [2/2]

StartActionEvent::StartActionEvent ( EntityID  entity_to_act,
glm::vec3  movement,
ActionType  action 
)
inline

Member Function Documentation

◆ DEF_SERIALIZE()

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

Field Documentation

◆ action

ActionType StartActionEvent::action

◆ entity_to_act

EntityID StartActionEvent::entity_to_act

◆ movement

glm::vec3 StartActionEvent::movement

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