# economy Class Reference

List of all members.

## Public Member Functions
void | create_economy (void)
void | loop ()
void | display_money (void)
void | set_money (int new_money)
## Public Attributes
int | money
char | money_string
int | display
int | net

## Detailed Description

economy contains the variable that stores the ammount of money the player currently has and prints it to thescreen. The player starts with 1000 units of money. economy also displays ammount money spent buildind units.

## Member Function Documentation

void economy::create_economy | ( | void |  | ) | `[inline]`

void economy::display_money | ( | void |  | ) | `[inline]`

print the current money to screen

void economy::loop | ( |  | ) | `[inline]`

prints out the economy variables

void economy::set_money | ( | int | new_money | ) | `[inline]`

set the money variable and indicated when money subtracted

## Member Data Documentation

int economy::display

int economy::money

char economy::money_string

int economy::net

The documentation for this class was generated from the following file:

- C:/Documents and Settings/Adam Schwartz/My Documents/um/code/economy.cpp