|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.examples.marsworld.LocationObjectData
jadex.examples.marsworld.LocationObject
jadex.examples.marsworld.Homebase
The agents homebase.
Field Summary |
Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Constructor Summary | |
Homebase(Location loc,
long missiontime)
Create a new homebase. |
Method Summary | |
void |
deliverOre(int amount)
Retrieve some ore amount. |
long |
getMissionTime()
Get the mission time. |
int |
getOre()
Get the amount of ore. |
long |
getRemainingMissionTime()
Get the remaining mission time. |
String |
toString()
Convert the Location to a string representation. |
Methods inherited from class jadex.examples.marsworld.LocationObject |
equals |
Methods inherited from class jadex.examples.marsworld.LocationObjectData |
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getId, getLocation, getMethodDescriptors, getPropertyDescriptors, loadImage, setId, setLocation |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Homebase(Location loc, long missiontime)
Method Detail |
public void deliverOre(int amount)
amount
- The amount.public int getOre()
public long getMissionTime()
public long getRemainingMissionTime()
public String toString()
toString
in class LocationObject
|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.