|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.event.EventProducer
org.gscg.singleuser.interactionlayer.economics.Economics
The Economics manages all the server-side actions related to the economic state of a player. It manages initializing and updating the economics panel.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.
Field Summary | |
static nl.tudelft.simulation.event.EventType |
UPDATE_ECONOMICS_BALANCE
updates the whole economics table |
static nl.tudelft.simulation.event.EventType |
UPDATE_ECONOMICS_PANEL
updates the whole economics table |
static nl.tudelft.simulation.event.EventType |
UPDATE_ECONOMICS_PANEL_DAY
updates the whole economics day table |
static nl.tudelft.simulation.event.EventType |
UPDATE_ECONOMICS_PANEL_MONTH
updates the whole economics month table |
static nl.tudelft.simulation.event.EventType |
UPDATE_ECONOMICS_PANEL_WEEK
updates the whole economics week table |
Fields inherited from class nl.tudelft.simulation.event.EventProducer |
listeners |
Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
Constructor Summary | |
Economics(SingleUserInteractionLayerInterface owner)
constructs a new Economics |
Method Summary | |
void |
announce(nl.tudelft.simulation.event.EventType eventType,
boolean announce)
Method announce. |
EconomicsFinancial |
getEconomicsFinancial()
|
Methods inherited from class nl.tudelft.simulation.event.EventProducer |
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final nl.tudelft.simulation.event.EventType UPDATE_ECONOMICS_PANEL
public static final nl.tudelft.simulation.event.EventType UPDATE_ECONOMICS_PANEL_DAY
public static final nl.tudelft.simulation.event.EventType UPDATE_ECONOMICS_PANEL_WEEK
public static final nl.tudelft.simulation.event.EventType UPDATE_ECONOMICS_PANEL_MONTH
public static final nl.tudelft.simulation.event.EventType UPDATE_ECONOMICS_BALANCE
Constructor Detail |
public Economics(SingleUserInteractionLayerInterface owner)
owner
- the owner of the economics objectMethod Detail |
public void announce(nl.tudelft.simulation.event.EventType eventType, boolean announce)
AnnounceInterface
announce
in interface AnnounceInterface
eventType
- the eventTypeannounce
- indicates whether this is an announceAnnounceInterface.announce(nl.tudelft.simulation.event.EventType,
boolean)
public EconomicsFinancial getEconomicsFinancial()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |