RigsofRods
Soft-body Physics Simulation
Public Member Functions | Private Attributes
RoR::RepairMode Class Reference

Interactive recovery and repair mode, operates on player vehicle Formerly 'advanced repair' or 'interactive reset'. More...

#include <RepairMode.h>

Public Member Functions

void UpdateInputEvents (float dt)
 
bool IsLiveRepairActive () const
 
bool IsQuickRepairActive () const
 
float GetLiveRepairTimer () const
 

Private Attributes

bool m_quick_repair_active = false
 
bool m_live_repair_active = false
 
float m_live_repair_timer = 0.f
 

Detailed Description

Interactive recovery and repair mode, operates on player vehicle Formerly 'advanced repair' or 'interactive reset'.

Definition at line 38 of file RepairMode.h.

Member Function Documentation

◆ GetLiveRepairTimer()

float RoR::RepairMode::GetLiveRepairTimer ( ) const
inline

Definition at line 44 of file RepairMode.h.

+ Here is the caller graph for this function:

◆ IsLiveRepairActive()

bool RoR::RepairMode::IsLiveRepairActive ( ) const
inline

Definition at line 42 of file RepairMode.h.

◆ IsQuickRepairActive()

bool RoR::RepairMode::IsQuickRepairActive ( ) const
inline

Definition at line 43 of file RepairMode.h.

◆ UpdateInputEvents()

void RepairMode::UpdateInputEvents ( float  dt)

Definition at line 30 of file RepairMode.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ m_live_repair_active

bool RoR::RepairMode::m_live_repair_active = false
private

Definition at line 48 of file RepairMode.h.

◆ m_live_repair_timer

float RoR::RepairMode::m_live_repair_timer = 0.f
private

Definition at line 49 of file RepairMode.h.

◆ m_quick_repair_active

bool RoR::RepairMode::m_quick_repair_active = false
private

Definition at line 47 of file RepairMode.h.


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