group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
abilities Namespace Reference

Functions

constexpr float cooldownFor (AbilityType type)

Variables

constexpr float k_dashCooldown = 1.5f
 Buffed (was 2.5/4.0) — dash much more often.
constexpr float k_dashSpeed = 3400.0f
 Buffed (was 2400/1900) — much faster, longer burst.
constexpr float k_dashLift = 180.0f
 Buffed (was 90) — more lift keeps the dash airborne so its momentum carries past ground friction instead of bleeding off immediately.
constexpr float k_recallCooldown = 12.0f
constexpr float k_levitateMaxDuration = 4.0f
 Max seconds of lift per activation.
constexpr float k_levitateCooldown = 6.0f
 Cooldown after a levitate ends.
constexpr float k_levitateRiseSpeed = 650.0f
 Target upward speed (u/s) — strong updraft.
constexpr float k_levitateResponse = 8.0f
 How fast vertical velocity eases toward the rise speed.
constexpr float k_wallhackDuration = 5.0f
 Seconds enemies are revealed.
constexpr float k_wallhackCooldown = 30.0f
 Cooldown after activation.

Function Documentation

◆ cooldownFor()

float abilities::cooldownFor ( AbilityType type)
inlineconstexpr
Here is the caller graph for this function:

Variable Documentation

◆ k_dashCooldown

float abilities::k_dashCooldown = 1.5f
constexpr

Buffed (was 2.5/4.0) — dash much more often.

◆ k_dashLift

float abilities::k_dashLift = 180.0f
constexpr

Buffed (was 90) — more lift keeps the dash airborne so its momentum carries past ground friction instead of bleeding off immediately.

◆ k_dashSpeed

float abilities::k_dashSpeed = 3400.0f
constexpr

Buffed (was 2400/1900) — much faster, longer burst.

◆ k_levitateCooldown

float abilities::k_levitateCooldown = 6.0f
constexpr

Cooldown after a levitate ends.

◆ k_levitateMaxDuration

float abilities::k_levitateMaxDuration = 4.0f
constexpr

Max seconds of lift per activation.

◆ k_levitateResponse

float abilities::k_levitateResponse = 8.0f
constexpr

How fast vertical velocity eases toward the rise speed.

◆ k_levitateRiseSpeed

float abilities::k_levitateRiseSpeed = 650.0f
constexpr

Target upward speed (u/s) — strong updraft.

◆ k_recallCooldown

float abilities::k_recallCooldown = 12.0f
constexpr

◆ k_wallhackCooldown

float abilities::k_wallhackCooldown = 30.0f
constexpr

Cooldown after activation.

◆ k_wallhackDuration

float abilities::k_wallhackDuration = 5.0f
constexpr

Seconds enemies are revealed.