SuckerFloat class
#include <Jazz2/Actors/Enemies/SuckerFloat.h>
Floating sucker.
Balloon-like sucker that hovers in a small circular path around its origin. When hit by an ordinary shot it pops and drops a deflating Sucker that scoots off in the direction of the impact; only special moves, freezing, or heavy weapons destroy it outright.
Base classes
- class EnemyBase
- Base class of an enemy.
Public static functions
- static void Preload(const ActorActivationDetails& details)
- Preloads all assets required by this actor.
Constructors, destructors, conversion operators
- SuckerFloat()
- Creates a new instance.
Protected functions
- auto OnActivatedAsync(const ActorActivationDetails& details) -> Task<bool> override
- Called when the object is created and activated.
- void OnUpdate(float timeMult) override
- Called every frame to update the object state.
- auto OnPerish(ActorBase* collider) -> bool override
- Called when the object has no health left and should perish.