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

CUnitStats Class Reference

#include <upgrade_structs.h>

List of all members.


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.
int Storing [MaxCosts]
 current costs of the unit

Detailed Description

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

Constructor & Destructor Documentation

CUnitStats::CUnitStats (  )  [inline]

CUnitStats::~CUnitStats (  ) 


Member Function Documentation

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

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

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


Member Data Documentation

int CUnitStats::Costs[MaxCosts]

user defined variable.

int CUnitStats::Storing[MaxCosts]

current costs of the unit


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.