Class Robot
java.lang.Object
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, Temporal<TimeCoordinate>, Property, TaskProcessor
Represents an autonomous machine (Robot).
- Since:
- 1.0
- Version:
- 1.1
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
Fields inherited from class Machine
COAL, ELECTRICITY, FUEL, GAS, MUSCULAR, SOLAR, VAPOR, WATERFALL, WIND, WOODFields inherited from class PotentialResource
id, traits -
Constructor Summary
ConstructorsConstructorDescriptionRobot(String name, String description, Quantity<?> amount, Community producer, Place productionPlace, TimeCoordinate productionDate, Identification identification, Money value) Initializes a new robot. -
Method Summary
Methods inherited from class Machine
getEnergySources, isOn, setEnergySources, switchStatusMethods inherited from class Tool
act, getActionName, getNumActions, getPurpose, getTargets, setNumActions, setPurpose, setTargetsMethods inherited from class MaterialResource
equals, getValue, hashCode, setValueMethods inherited from class Resource
addOwner, getOwners, getPosition, getProducer, getProductionDate, getProductionPlace, getTimestamp, getWhen, removeOwner, setId, setOwners, setPositionMethods inherited from class PotentialResource
getAmount, getDecayTime, getDescription, getId, getKind, getTraits, setDecaySeconds, setDecayTime, setDescription, setKind, setQuantity, toStringMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTraitMethods inherited from interface TaskProcessor
consumeResources, getResources
-
Constructor Details
-
Robot
public Robot(String name, String description, Quantity<?> amount, Community producer, Place productionPlace, TimeCoordinate productionDate, Identification identification, Money value) Initializes a new robot.
-