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

CVariable Class Reference

#include <unittype.h>

List of all members.


Public Member Functions

 CVariable ()

Public Attributes

int Max
int Value
 Maximum for the variable. (Assume min is 0.).
char Increase
 Current (or initial) value of the variable (or initial value).
char Enable
 Number to increase(decrease) Value by second.

Detailed Description

User defined variable type.

It is used to define variables and use it after to manage magic, energy, shield or other stuff.


Constructor & Destructor Documentation

CVariable::CVariable (  )  [inline]


Member Data Documentation

Maximum for the variable. (Assume min is 0.).

Current (or initial) value of the variable (or initial value).

Number to increase(decrease) Value by second.


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