mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-30 04:24:17 +00:00
30 lines
852 B
C++
30 lines
852 B
C++
#pragma once
|
|
|
|
#include <basis/seadTypes.h>
|
|
|
|
namespace al {
|
|
|
|
class PlayerHolder;
|
|
class CameraTargetBase;
|
|
class CameraSubTargetBase;
|
|
|
|
class CameraTargetHolder {
|
|
public:
|
|
CameraTargetHolder(u32 maxTargets);
|
|
|
|
CameraTargetBase* tryGetViewTarget(u32 index) const;
|
|
CameraTargetBase* getViewTarget(u32 index) const;
|
|
CameraSubTargetBase* getTopSubTarget() const;
|
|
|
|
void initAfterPlacement(const PlayerHolder*);
|
|
void update();
|
|
void addTarget(CameraTargetBase* target);
|
|
void removeTarget(const CameraTargetBase* target);
|
|
void addSubTarget(CameraSubTargetBase* subTarget);
|
|
void removeSubTarget(CameraSubTargetBase* subTarget);
|
|
void addPlacementSubTarget(CameraSubTargetBase* subTarget);
|
|
void removePlacementSubTarget(CameraSubTargetBase* subTarget);
|
|
bool isChangeViewTarget(u32 index) const;
|
|
};
|
|
} // namespace al
|