group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
Projectile.hpp File Reference

Projectile component and weapon/surface type enumerations. More...

#include <cstdint>
#include <entt/entt.hpp>
Include dependency graph for Projectile.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Projectile
 Component attached to projectile entities. More...
 

Enumerations

enum class  WeaponType : uint8_t { Rifle , Rocket , RailGun , EnergyGun }
 Weapon type — determines tracer style, damage, sound, and impact effects. More...
 
enum class  WeaponSlot : uint8_t { PRIMARY , SECONDARY , TERTIARY }
 
enum class  SurfaceType : uint8_t {
  Metal , Concrete , Flesh , Wood ,
  Energy
}
 Surface material hit by a projectile — drives impact effect parameters. More...
 

Detailed Description

Projectile component and weapon/surface type enumerations.

Enumeration Type Documentation

◆ SurfaceType

enum class SurfaceType : uint8_t
strong

Surface material hit by a projectile — drives impact effect parameters.

Enumerator
Metal 
Concrete 
Flesh 
Wood 
Energy 

◆ WeaponSlot

enum class WeaponSlot : uint8_t
strong
Enumerator
PRIMARY 
SECONDARY 
TERTIARY 

◆ WeaponType

enum class WeaponType : uint8_t
strong

Weapon type — determines tracer style, damage, sound, and impact effects.

Enumerator
Rifle 

Fast hitscan/projectile (R301-style capsule tracer)

Rocket 

Slow arcing projectile (ribbon trail)

RailGun 

Hitscan energy weapon (beam + lightning arcs)

EnergyGun 

Fast hitscan energy burst.