Examples of IBalanceSheet


Examples of ch.sahits.game.openpatrician.model.IBalanceSheet

   * @throws IOException
   */
  private void drawBalanceSum(Graphics2D g2d, ITradingOffice office,
      BufferedImage coin, int y) throws FontFormatException, IOException {
    int lastWeek =0;
    IBalanceSheet bal = office.getBalanceLastWeek();
    lastWeek += bal.getOtherCosts() + bal.getPropertyTaxes() + bal.getStewardCost() + bal.getWageCosts();
    lastWeek -= (bal.getOfficeTrading() + bal.getRentalIncome());
    int forcast = 0;
    bal = office.getCurrentWeek();
    forcast += bal.getOtherCosts() + bal.getPropertyTaxes() + bal.getStewardCost() + bal.getWageCosts();
    forcast -= (bal.getOfficeTrading() + bal.getRentalIncome());
    drawBalanceRow(g2d, coin, y, lastWeek, forcast);
  }
View Full Code Here

Examples of ch.sahits.game.openpatrician.model.IBalanceSheet


  @Override
  public void notify(DateObject date) {
    this.currentWeek.startUpdate();
    IBalanceSheet newWeek = new BalanceSheet((BalanceSheet) currentWeek);
    newWeek.startUpdate();
    this.lastWeek = this.currentWeek;
    this.currentWeek = newWeek;   
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.