Gun configuration structure. More...
#include <gun.h>
Public Attributes | |
| Vec2 | muzzlePosition |
| Position where bullets/muzzle flash appears. | |
| Vec2 | ejectionPosition |
| Position where casings are ejected. | |
| Vec2 | gripPosition |
| Position where the player holds the gun. | |
| ParticleEmitter | muzzleFlashPreset |
| Particle effect for muzzle flash. | |
| ParticleEmitter | casingPreset |
| Particle effect for ejected casings. | |
Gun configuration structure.
Contains positioning data and particle effect configurations for a gun
| ParticleEmitter GunConfig::casingPreset |
Particle effect for ejected casings.
| Vec2 GunConfig::ejectionPosition |
Position where casings are ejected.
| Vec2 GunConfig::gripPosition |
Position where the player holds the gun.
| ParticleEmitter GunConfig::muzzleFlashPreset |
Particle effect for muzzle flash.
| Vec2 GunConfig::muzzlePosition |
Position where bullets/muzzle flash appears.