ch.sahits.game.openpatrician.model
Interface ICompany

All Known Implementing Classes:
Company

public interface ICompany

The Company interface represents the company of a player and is mainly used to gather statistics

Author:
Andi Hotz, (c) Sahits GmbH, 2012 Created on Jul 24, 2012

Method Summary
 long getCash()
          Retrieve the cash avalable to the company
 long getCompanyValue()
          Retrieve the total value of the company
 ICity getHomeTown()
          Retrieve the home town of the company
 void updateCash(long diff)
          Add or subtract some cash
 

Method Detail

getHomeTown

ICity getHomeTown()
Retrieve the home town of the company

Returns:

getCompanyValue

long getCompanyValue()
Retrieve the total value of the company

Returns:

getCash

long getCash()
Retrieve the cash avalable to the company

Returns:

updateCash

void updateCash(long diff)
Add or subtract some cash

Parameters:
diff - amount of money that is transferred


Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.