Index
All Classes and Interfaces|All Packages
C
- changeExchangeRate() - Method in class StonkMarket
 - 
Changes the current exchange rate randomly from -50 to 50 percent.
 
E
- exchangeRate - Variable in class StonkMarket
 
F
- fazCoin - Variable in class Wallet
 - fazCoinToUSD(int) - Method in class StonkMarket
 - 
Converts the FazCoin value to USD.
 
G
- getAction() - Method in class StonksAppView
 - 
Gets next action from user
 - getAction(String) - Method in class StonksAppView
 - 
Asks user for next action
 - getExchangeRate() - Method in class StonkMarket
 - 
Gets exchange rate
 - getFazCoin() - Method in class Wallet
 - 
Gets the amount of FazCoin you own
 - getUSDollars() - Method in class Wallet
 - 
Gets the amount of USD you have
 - go() - Method in class StonkAppMain
 - 
Main controller for program.
 
M
- main(String[]) - Static method in class StonkAppMain
 
P
- parseAction(String) - Method in class StonkAppMain
 - 
Parses through user input and performs correlated action.
 - printMenu() - Method in class StonksAppView
 - 
Prints menu with user options
 - purchaseFazCoin(int) - Method in class StonkAppMain
 - 
Adds FazCoin to the wallet and removes appropriate USD amount
 
R
- RANDY - Static variable in class StonkMarket
 
S
- scanner - Variable in class StonksAppView
 - sellFazCoin(int) - Method in class StonkAppMain
 - 
Removes FazCoin from the wallet and adds appropriate USD amount
 - setFazCoin(int) - Method in class Wallet
 - 
Sets FazCoin in your wallet
 - setUSDollars(double) - Method in class Wallet
 - 
Sets USD in your wallet
 - sm - Variable in class StonkAppMain
 - startScreen() - Method in class StonksAppView
 - 
Start screen for the program.
 - StonkAppMain - Class in Unnamed Package
 - StonkAppMain() - Constructor for class StonkAppMain
 - StonkMarket - Class in Unnamed Package
 - StonkMarket() - Constructor for class StonkMarket
 - StonksAppView - Class in Unnamed Package
 - StonksAppView() - Constructor for class StonksAppView
 
U
V
- view - Variable in class StonkAppMain
 
W
- w - Variable in class StonkAppMain
 - Wallet - Class in Unnamed Package
 - Wallet() - Constructor for class Wallet
 - 
Default constructor for the Wallet.
 - Wallet(int, double) - Constructor for class Wallet
 - 
Overloaded constructor for the Wallet.
 - walletInfo(Wallet, StonkMarket) - Method in class StonksAppView
 - 
Prints wallet information.
 - walletInitializer() - Method in class StonkAppMain
 - 
Initializes the wallet, either default or with custom values based on user input.
 
All Classes and Interfaces|All Packages