Package de.extio.spacecraft.shared.bo
Interface FieldsModuleDrawBo
-
public interface FieldsModuleDrawBo
Helpers to draw all kind of status (fields, meshes, ...)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
drawTilePixmap(org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder, Consumer<RenderingBoHasPositionRelativeToParent> consumer)
void
renderDamage(SpaceShip spaceShip, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
void
renderEM(SpaceShip spaceShip, Queue<Double> history, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
void
renderField(SpaceCraft spaceCraft, Field field, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
void
renderMesh(SpaceCraft spaceCraft, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder, org.apache.commons.lang3.tuple.Pair<UUID,Integer> laneOnly)
void
renderMeshBufferOverview(SpaceCraft spacecraft, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
void
renderMeshBuffers(SpaceCraft spacecraft, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
void
renderMeshConsumption(Queue<Map<RgbaColor,Double>> consumption, double meshProductionAmount, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID>
setupPixmap(Matrix2<RgbaColor> existingPixmap, UUID existingPixmapId, CoordI2 dimension, int pxPerCoord)
org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID>
setupSpaceshipPixmap(Matrix2<RgbaColor> existingPixmap, UUID existingPixmapId, int pxPerCoord)
org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID>
setupTilesizedPixmap(Matrix2<RgbaColor> existingPixmap, UUID existingPixmapId, int pxPerCoord)
-
-
-
Method Detail
-
setupPixmap
org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> setupPixmap(Matrix2<RgbaColor> existingPixmap, UUID existingPixmapId, CoordI2 dimension, int pxPerCoord)
-
setupSpaceshipPixmap
org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> setupSpaceshipPixmap(Matrix2<RgbaColor> existingPixmap, UUID existingPixmapId, int pxPerCoord)
-
setupTilesizedPixmap
org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> setupTilesizedPixmap(Matrix2<RgbaColor> existingPixmap, UUID existingPixmapId, int pxPerCoord)
-
renderField
void renderField(SpaceCraft spaceCraft, Field field, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
-
renderDamage
void renderDamage(SpaceShip spaceShip, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
-
renderMesh
void renderMesh(SpaceCraft spaceCraft, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder, org.apache.commons.lang3.tuple.Pair<UUID,Integer> laneOnly)
-
renderMeshBufferOverview
void renderMeshBufferOverview(SpaceCraft spacecraft, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
-
renderMeshBuffers
void renderMeshBuffers(SpaceCraft spacecraft, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
-
renderMeshConsumption
void renderMeshConsumption(Queue<Map<RgbaColor,Double>> consumption, double meshProductionAmount, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
-
renderEM
void renderEM(SpaceShip spaceShip, Queue<Double> history, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
-
drawTilePixmap
void drawTilePixmap(org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder, Consumer<RenderingBoHasPositionRelativeToParent> consumer)
-
-