_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | Public Attributes | List of all members
CTimer Class Reference

#include <trigger.h>

Public Member Functions

 CTimer ()
 
void Reset ()
 

Public Attributes

bool Init
 
bool Running
 timer is initialized More...
 
bool Increasing
 timer is running More...
 
long Cycles
 increasing or decreasing More...
 
unsigned long LastUpdate
 current value in game cycles More...
 

Detailed Description

Timer structure

Constructor & Destructor Documentation

◆ CTimer()

CTimer::CTimer ( )
inline

Member Function Documentation

◆ Reset()

void CTimer::Reset ( )
inline

Member Data Documentation

◆ Cycles

long CTimer::Cycles

increasing or decreasing

◆ Increasing

bool CTimer::Increasing

timer is running

◆ Init

bool CTimer::Init

◆ LastUpdate

unsigned long CTimer::LastUpdate

current value in game cycles

◆ Running

bool CTimer::Running

timer is initialized


The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.