arcade.store.account
Class AdminShopAccount

java.lang.Object
  extended by arcade.store.account.UserShopAccount
      extended by arcade.store.account.AdminShopAccount

public class AdminShopAccount
extends UserShopAccount


Constructor Summary
AdminShopAccount(java.lang.String user, java.lang.String id)
           
 
Method Summary
 void purchaseGame(GamePage page)
          Tthis method overrides how a game is purchased
 void transactCredits(java.lang.String creditname, double change)
          This method transact a change on a specific credit name
 void transferInformation(PremiumShopAccount newAccount)
          Overrides all the information from one account 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

AdminShopAccount

public AdminShopAccount(java.lang.String user,
                        java.lang.String id)
Method Detail

purchaseGame

public void purchaseGame(GamePage page)
Description copied from class: UserShopAccount
Tthis method overrides how a game is purchased

Specified by:
purchaseGame in class UserShopAccount

transactCredits

public void transactCredits(java.lang.String creditname,
                            double change)
Description copied from class: UserShopAccount
This method transact a change on a specific credit name

Specified by:
transactCredits in class UserShopAccount

transferInformation

public void transferInformation(PremiumShopAccount newAccount)
Description copied from class: UserShopAccount
Overrides all the information from one account to another. This method copies information about the user's privileges, games, and credits.

Specified by:
transferInformation in class UserShopAccount