Style Slasher
A dressup combat roguelike created by Scrungle Studios for the 2025 Swinburne Capstone project.
Slasher.Hitstop.HitstopManager Class Reference
Inheritance diagram for Slasher.Hitstop.HitstopManager:
Inheritance graph
Collaboration diagram for Slasher.Hitstop.HitstopManager:
Collaboration graph

Static Public Member Functions

static void OnDamageImpact (float time)
 Call with the length of time hits should freeze for after a damage impact.
 

Events

static Action< float > OnHitstop = (_) => { }
 

Private Member Functions

void Awake ()
 
void OnEnable ()
 
void OnDisable ()
 
void Start ()
 
void DoHitstop (float time)
 
IEnumerator Hitstop (float time)
 
IEnumerator HitstopApplier ()
 
void Update ()
 
void LateUpdate ()
 

Private Attributes

HitstopProfileSO profile
 
Dictionary< Guid, float > hitstopSources = new()
 
int hitstopsRunning
 
bool applyingHitstop
 

Member Function Documentation

◆ Awake()

void Slasher.Hitstop.HitstopManager.Awake ( )
private

◆ DoHitstop()

void Slasher.Hitstop.HitstopManager.DoHitstop ( float time)
private
Here is the call graph for this function:

◆ Hitstop()

IEnumerator Slasher.Hitstop.HitstopManager.Hitstop ( float time)
private

◆ HitstopApplier()

IEnumerator Slasher.Hitstop.HitstopManager.HitstopApplier ( )
private

◆ LateUpdate()

void Slasher.Hitstop.HitstopManager.LateUpdate ( )
private

◆ OnDamageImpact()

static void Slasher.Hitstop.HitstopManager.OnDamageImpact ( float time)
static

Call with the length of time hits should freeze for after a damage impact.

Parameters
timeHow long the game should freeze for in seconds (if long enough, it may ease out as well)

◆ OnDisable()

void Slasher.Hitstop.HitstopManager.OnDisable ( )
private
Here is the call graph for this function:

◆ OnEnable()

void Slasher.Hitstop.HitstopManager.OnEnable ( )
private
Here is the call graph for this function:

◆ Start()

void Slasher.Hitstop.HitstopManager.Start ( )
private

◆ Update()

void Slasher.Hitstop.HitstopManager.Update ( )
private

Member Data Documentation

◆ applyingHitstop

bool Slasher.Hitstop.HitstopManager.applyingHitstop
private

◆ hitstopSources

Dictionary<Guid, float> Slasher.Hitstop.HitstopManager.hitstopSources = new()
private

◆ hitstopsRunning

int Slasher.Hitstop.HitstopManager.hitstopsRunning
private

◆ profile

HitstopProfileSO Slasher.Hitstop.HitstopManager.profile
private

Event Documentation

◆ OnHitstop

Action<float> Slasher.Hitstop.HitstopManager.OnHitstop = (_) => { }
staticprivate

The documentation for this class was generated from the following file: