Canoe
Comprehensive Atmosphere N' Ocean Engine
CounterGroup Class Reference

#include <virtual_groups.hpp>

Inheritance diagram for CounterGroup:
[legend]

Public Member Functions

virtual ~CounterGroup ()
 
void ResetCounter ()
 
void DecrementCounter (Real dt)
 
Real GetCounter () const
 
void SetCooldownTime (Real cooldown)
 

Private Attributes

Real cooldown_
 
Real current_ = 0.
 

Detailed Description

Definition at line 158 of file virtual_groups.hpp.

Constructor & Destructor Documentation

◆ ~CounterGroup()

virtual CounterGroup::~CounterGroup ( )
inlinevirtual

Definition at line 160 of file virtual_groups.hpp.

Member Function Documentation

◆ ResetCounter()

void CounterGroup::ResetCounter ( )
inline

Definition at line 161 of file virtual_groups.hpp.

◆ DecrementCounter()

void CounterGroup::DecrementCounter ( Real  dt)
inline

Definition at line 162 of file virtual_groups.hpp.

◆ GetCounter()

Real CounterGroup::GetCounter ( ) const
inline

Definition at line 163 of file virtual_groups.hpp.

◆ SetCooldownTime()

void CounterGroup::SetCooldownTime ( Real  cooldown)
inline

Definition at line 164 of file virtual_groups.hpp.

Member Data Documentation

◆ cooldown_

Real CounterGroup::cooldown_
private

Definition at line 167 of file virtual_groups.hpp.

◆ current_

Real CounterGroup::current_ = 0.
private

Definition at line 167 of file virtual_groups.hpp.


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