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

#include <upgrade_structs.h>

Public Member Functions

 CUnitStats ()
 
upgrade.cpp - The upgrade/allow functions.
 ~CUnitStats ()
 
const CUnitStatsoperator= (const CUnitStats &rhs)
 
bool operator== (const CUnitStats &rhs) const
 
bool operator!= (const CUnitStats &rhs) const
 

Public Attributes

CVariableVariables
 
int Costs [MaxCosts]
 user defined variable. More...
 
int Storing [MaxCosts]
 current costs of the unit More...
 
int ImproveIncomes [MaxCosts]
 storage increasing More...
 

Detailed Description

These are the current stats of a unit. Upgraded or downgraded.

Constructor & Destructor Documentation

◆ CUnitStats()

CUnitStats::CUnitStats ( )
inline

◆ ~CUnitStats()

CUnitStats::~CUnitStats ( )

Member Function Documentation

◆ operator!=()

bool CUnitStats::operator!= ( const CUnitStats rhs) const

◆ operator=()

const CUnitStats & CUnitStats::operator= ( const CUnitStats rhs)

◆ operator==()

bool CUnitStats::operator== ( const CUnitStats rhs) const

Member Data Documentation

◆ Costs

int CUnitStats::Costs[MaxCosts]

user defined variable.

◆ ImproveIncomes

int CUnitStats::ImproveIncomes[MaxCosts]

storage increasing

◆ Storing

int CUnitStats::Storing[MaxCosts]

current costs of the unit

◆ Variables

CVariable* CUnitStats::Variables

The documentation for this class was generated from the following files:
(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.