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

#include <event.hpp>

Public Member Functions

 TrapPlacementEvent ()
 
 TrapPlacementEvent (EntityID entity_to_act, glm::vec3 world_pos, CellType cell, bool hover, bool place)
 
 DEF_SERIALIZE (Archive &ar, const unsigned int version)
 

Data Fields

EntityID entity_to_act
 
CellType cell
 
glm::vec3 world_pos
 
bool hover
 
bool place
 

Detailed Description

Event for placing a trap

Constructor & Destructor Documentation

◆ TrapPlacementEvent() [1/2]

TrapPlacementEvent::TrapPlacementEvent ( )
inline

◆ TrapPlacementEvent() [2/2]

TrapPlacementEvent::TrapPlacementEvent ( EntityID  entity_to_act,
glm::vec3  world_pos,
CellType  cell,
bool  hover,
bool  place 
)
inline

Member Function Documentation

◆ DEF_SERIALIZE()

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

Field Documentation

◆ cell

CellType TrapPlacementEvent::cell

◆ entity_to_act

EntityID TrapPlacementEvent::entity_to_act

◆ hover

bool TrapPlacementEvent::hover

◆ place

bool TrapPlacementEvent::place

◆ world_pos

glm::vec3 TrapPlacementEvent::world_pos

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