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

Static gameplay tuning data for each weapon type. More...

#include "CollisionShape.hpp"
#include "ecs/components/Projectile.hpp"
#include <array>
#include <cstddef>
Include dependency graph for WeaponConfig.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  WeaponConfig
 Immutable gameplay stats for a weapon type. More...
struct  ProjectileConfig

Functions

const WeaponConfiggetWeaponConfig (WeaponType type)
 Returns the gameplay config for a weapon type.
const ProjectileConfiggetProjectileConfig (WeaponType type)
 Returns the projectile config for a weapon type.

Detailed Description

Static gameplay tuning data for each weapon type.

Function Documentation

◆ getProjectileConfig()

const ProjectileConfig & getProjectileConfig ( WeaponType type)
inline

Returns the projectile config for a weapon type.

Here is the caller graph for this function:

◆ getWeaponConfig()

const WeaponConfig & getWeaponConfig ( WeaponType type)
inline

Returns the gameplay config for a weapon type.

Here is the caller graph for this function: