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 Position
Position. adjacentPosition(Direction direction)
Get the adjacent position in the given direction.Position
Playfield. 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 void
Playfield. 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.boolean
Playfield. isSolidEntityAt(Position pos)
Check whether a solid entity is at the given position.void
Playfield. moveEntity(Entity entity, Position pos)
Move a entity of this simulation to a given position on this playfield.void
Playfield. 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 Position
EntityMoveAction. from()
Position
EntityCollectAction. getCollectedEntityPosition()
Position
EntityCollectAction. getCollectorPosition()
Position
EntityDropAction. getDroppedEntityPosition()
Position
EntityDropAction. getDropperPosition()
Position
EntitySpawnAction. getPosition()
Position
EntityMoveAction. 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 Position
BasicEntity. getPosition()
Position
Entity. getPosition()
Methods in de.unistuttgart.informatik.fius.icge.simulation.entity with parameters of type Position Modifier and Type Method Description void
EntityCollector. drop(CollectableEntity entity, Position pos)
Drop the given entity.void
GreedyEntity. 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 void
PlayfieldModifier. placeEntityAt(Entity entity, Position position)
Place the given entity at the given position on the playfield.void
PlayfieldModifier. 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 void
PlayfieldModifier. placeEntityAtEachPosition(Supplier<? extends Entity> entityFactory, Iterable<Position> positions)
Place an entity supplied by the given factory at each of the given positions
-