mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-29 20:14:41 +00:00
* Add script to verify formatting * Add newline to end of files * Add `#pragma once` to top of headers * Add own header to includes at top of source files * Remove useless namespace qualifiers * Sort visibility modifiers correctly * Format `#include`s in three blocks * Remove `;` after namespaces * Add for custom style checking to `lint`-GitHub-Action * Format: No "// 0x" offset comments * Remove macros from padding
22 lines
385 B
C++
Executable file
22 lines
385 B
C++
Executable file
#pragma once
|
|
|
|
#include <basis/seadTypes.h>
|
|
|
|
namespace al {
|
|
class HitSensor;
|
|
|
|
class SensorHitGroup {
|
|
public:
|
|
SensorHitGroup(s32 maxSensors, const char* groupName);
|
|
|
|
void add(HitSensor* sensor);
|
|
void remove(HitSensor* sensor);
|
|
HitSensor* getSensor(s32 index) const;
|
|
|
|
private:
|
|
s32 mMaxSensors;
|
|
s32 mSensorCount = 0;
|
|
HitSensor** mSensors;
|
|
};
|
|
} // namespace al
|