Uses of Class
de.unistuttgart.informatik.fius.icge.simulation.Position
-
-
Uses of Position in de.unistuttgart.informatik.fius.icge.simulation
Methods in de.unistuttgart.informatik.fius.icge.simulation that return Position Modifier and Type Method Description PositionPosition. adjacentPosition(Direction direction)Get the adjacent position in the given direction.PositionPlayfield. getEntityPosition(Entity entity)Get the position of the specified entity on the playfield.Methods in de.unistuttgart.informatik.fius.icge.simulation with parameters of type Position Modifier and Type Method Description voidPlayfield. addEntity(Position pos, Entity entity)Add a given entity to this simulation at a given position on this playfield.List<Entity>Playfield. getEntitiesAt(Position pos)Get a list of all entities at the given position on this playfield.<T extends Entity>
List<T>Playfield. getEntitiesOfTypeAt(Position pos, Class<? extends T> type, boolean includeSubclasses)Get a list of all entities matching the given type at the given position on this playfield.booleanPlayfield. isSolidEntityAt(Position pos)Check whether a solid entity is at the given position.voidPlayfield. moveEntity(Entity entity, Position pos)Move a entity of this simulation to a given position on this playfield.voidPlayfield. moveEntity(Entity entity, Position pos, EntityMoveAction action)Move a entity of this simulation to a given position on this playfield. -
Uses of Position in de.unistuttgart.informatik.fius.icge.simulation.actions
Methods in de.unistuttgart.informatik.fius.icge.simulation.actions that return Position Modifier and Type Method Description PositionEntityMoveAction. from()PositionEntityCollectAction. getCollectedEntityPosition()PositionEntityCollectAction. getCollectorPosition()PositionEntityDropAction. getDroppedEntityPosition()PositionEntityDropAction. getDropperPosition()PositionEntitySpawnAction. getPosition()PositionEntityMoveAction. to()Constructors in de.unistuttgart.informatik.fius.icge.simulation.actions with parameters of type Position Constructor Description EntityCollectAction(long tickNumber, Entity entity, CollectableEntity collected, Position collectorPos, Position collectedPos)Create an entity collect action.EntityDropAction(long tickNumber, Entity entity, CollectableEntity dropped, Position dropperPos, Position droppedPos)Create an entity drop action.EntityMoveAction(long tickNumber, Entity entity, Position from, Position to)Create an entity move action.EntitySpawnAction(long tickNumber, Entity entity, Playfield playfield, Position position)Create an entity spawn action.EntityStepAction(long tickNumber, Entity entity, Position from, Position to)Create an entity step action.EntityTeleportAction(long tickNumber, Entity entity, Position from, Position to)Create an entity teleport action. -
Uses of Position in de.unistuttgart.informatik.fius.icge.simulation.entity
Methods in de.unistuttgart.informatik.fius.icge.simulation.entity that return Position Modifier and Type Method Description PositionBasicEntity. getPosition()PositionEntity. getPosition()Methods in de.unistuttgart.informatik.fius.icge.simulation.entity with parameters of type Position Modifier and Type Method Description voidEntityCollector. drop(CollectableEntity entity, Position pos)Drop the given entity.voidGreedyEntity. drop(CollectableEntity entity, Position pos) -
Uses of Position in de.unistuttgart.informatik.fius.icge.simulation.tools
Methods in de.unistuttgart.informatik.fius.icge.simulation.tools with parameters of type Position Modifier and Type Method Description voidPlayfieldModifier. placeEntityAt(Entity entity, Position position)Place the given entity at the given position on the playfield.voidPlayfieldModifier. placeMultipleEntitiesAt(Supplier<? extends Entity> entityFactory, int count, Position position)Place the given number of entities supplied by the given factory at the given location.Method parameters in de.unistuttgart.informatik.fius.icge.simulation.tools with type arguments of type Position Modifier and Type Method Description voidPlayfieldModifier. placeEntityAtEachPosition(Supplier<? extends Entity> entityFactory, Iterable<Position> positions)Place an entity supplied by the given factory at each of the given positions
-