cs381/as6/components/ProbeStateComponent.hpp

18 lines
372 B
C++

#pragma once
#include "Component.hpp"
/**
* Monitors probe bounds and emits death when probe exits playable area.
*/
struct ProbeStateComponent : public Component {
float spawnX = 96.0f;
float spawnY = 230.0f;
float spawnVx = 165.0f;
float spawnVy = 0.0f;
void Setup() override;
void Update(float dt) override;
void Cleanup() override;
};