_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          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
CUpgradeTimers Class Reference

#include <upgrade_structs.h>

Public Member Functions

 CUpgradeTimers ()
 
void Clear ()
 

Public Attributes

int Upgrades [UpgradeMax]
 

Detailed Description

Upgrade timer used in the player structure. Every player has an own UpgradeTimers struct.

Constructor & Destructor Documentation

◆ CUpgradeTimers()

CUpgradeTimers::CUpgradeTimers ( )
inline

Member Function Documentation

◆ Clear()

void CUpgradeTimers::Clear ( )
inline

Member Data Documentation

◆ Upgrades

int CUpgradeTimers::Upgrades[UpgradeMax]

all 0 at the beginning, all upgrade actions do increment values in this struct.


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.