|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectarcade.store.account.UserShopAccount
arcade.store.account.PremiumShopAccount
public class PremiumShopAccount
Constructor Summary | |
---|---|
PremiumShopAccount(java.lang.String user,
java.lang.String id)
|
Method Summary | |
---|---|
void |
commentOnGamePage(GamePage page,
java.lang.String comment)
Premium user should have additional perks |
double |
getCredits(java.lang.String creditname)
|
boolean |
hasGame(GamePage game)
|
void |
purchaseGame(GamePage page)
Tthis method overrides how a game is purchased |
void |
transactCredits(double change)
This method processes an amount change to (assumed) game credits |
void |
transactCredits(java.lang.String creditname,
double change)
This method processes an amount of change to the credit |
void |
transferInformation(PremiumShopAccount newAccount)
Give this account's information to another. |
Methods inherited from class arcade.store.account.UserShopAccount |
---|
getAccountID, getUserName, resetUserID, resetUserName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PremiumShopAccount(java.lang.String user, java.lang.String id)
Method Detail |
---|
public void commentOnGamePage(GamePage page, java.lang.String comment)
page
- comment
- public void purchaseGame(GamePage page)
UserShopAccount
purchaseGame
in class UserShopAccount
public void transactCredits(double change)
change
- public void transactCredits(java.lang.String creditname, double change)
transactCredits
in class UserShopAccount
creditname
- change
- public double getCredits(java.lang.String creditname)
public boolean hasGame(GamePage game)
public void transferInformation(PremiumShopAccount newAccount)
transferInformation
in class UserShopAccount
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |