Uses of Class
de.extio.spacecraft.shared.model.entity.builtin.composite.SpaceCraft
-
Packages that use SpaceCraft Package Description de.extio.spacecraft.shared.bo Business objects implement various game mechanicsde.extio.spacecraft.shared.model.bo Interfaces and data objects for various business objects implementing game mechanicsde.extio.spacecraft.shared.model.entity.builtin.composite Builtin composite entity implementations and interfaces for custom implementations -
-
Uses of SpaceCraft in de.extio.spacecraft.shared.bo
Methods in de.extio.spacecraft.shared.bo with type parameters of type SpaceCraft Modifier and Type Method Description <T extends SpaceCraft>
TSpaceCraftFactory. create(Class<T> convertTo, SpaceCraft template, Map<String,Object> spaceCraftProperties)
Properly sets up a new SpaceCraft, template and spaceCraftProperties are usually taken from CompositeEntityDefinitionMessage.<T extends SpaceCraft>
TSpaceCraftFactory. create(Class<T> convertTo, CompositeEntityDefinitionMessage defMessage)
Properly sets up a new SpaceCraft from CompositeEntityDefinitionMessage.Methods in de.extio.spacecraft.shared.bo with parameters of type SpaceCraft Modifier and Type Method Description static double
EnterStationSupport. calculateRealMaxDistance(SpaceCraft ship, SpaceStation station)
Returns the maximum standard distance ship can enter stationstatic boolean
EnterStationSupport. canEnter(SpaceCraft ship, SpaceStation station)
Checks whether a player located at ship can enter station<T extends SpaceCraft>
TSpaceCraftFactory. create(Class<T> convertTo, SpaceCraft template, Map<String,Object> spaceCraftProperties)
Properly sets up a new SpaceCraft, template and spaceCraftProperties are usually taken from CompositeEntityDefinitionMessage.static SpaceStation
EnterStationSupport. findClosest(SpaceCraft ship, List<SpaceStation> stations, boolean infiniteRange, boolean mannedOnly)
Finds the closest station a player located at ship can joinvoid
FieldsModuleDrawBo. renderField(SpaceCraft spaceCraft, Field field, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
void
FieldsModuleDrawBo. renderMesh(SpaceCraft spaceCraft, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder, org.apache.commons.lang3.tuple.Pair<UUID,Integer> laneOnly)
void
FieldsModuleDrawBo. renderMeshBufferOverview(SpaceCraft spacecraft, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
void
FieldsModuleDrawBo. renderMeshBuffers(SpaceCraft spacecraft, org.apache.commons.lang3.tuple.MutablePair<Matrix2<RgbaColor>,UUID> pixmapHolder)
UUID
AiFactory. spawn(Area2 area, SpaceCraft spaceCraft, Map<String,Object> spaceCraftProperties, AiFactoryCrewManagerType crewManagerType, AiFactorySpacecraftManagerType spacecraftManagerType, int team, UUID sceneTag, GameSession gameSession)
Spawn an AI ship.UUID
AiFactory. spawn(Area2 area, SpaceCraft spaceCraft, Map<String,Object> spaceCraftProperties, Class<? extends AiCrewManager> crewManager, Class<? extends AiSpacecraftManager> spacecraftManager, int team, UUID sceneTag, GameSession gameSession)
Spawn an AI ship. -
Uses of SpaceCraft in de.extio.spacecraft.shared.model.bo
Methods in de.extio.spacecraft.shared.model.bo that return types with arguments of type SpaceCraft Modifier and Type Method Description Collection<SpaceCraft>
AiOrchestrator. getAggro(UUID sceneTag, int controlGroup)
Class<? extends SpaceCraft>
SpaceShipValidationOptions. getForceCompositeEntityType()
Methods in de.extio.spacecraft.shared.model.bo with parameters of type SpaceCraft Modifier and Type Method Description List<UUID>
AiOrchestrator. claimCenters(UUID ai, List<CoordI2> centers, SpaceCraft spaceCraft)
List<Class<? extends AiBuildingBlock>>
AiSpacecraftManager. control(SpaceCraft spaceCraft, EntityNetworkDiscovery entityNetworkDiscovery, AiOrchestrator orchestrator, AiBuildingBlockManager aiBuildingBlockManager, GameSession gameSession)
void
AiCrewManager. manageCrew(GameSession gameSession, SpaceCraft spaceCraft, EntityNetworkDiscovery entityNetworkDiscovery, List<CrewEntity> crew, AiBuildingBlockManager aiBuildingBlockManager)
void
AiBuildingBlock. setSpaceCraft(SpaceCraft spaceCraft)
void
AiCrewManager. unregister(GameSession gameSession, SpaceCraft spaceCraft)
void
AiSpacecraftManager. unregister(SpaceCraft spaceCraft, AiOrchestrator orchestrator, AiBuildingBlockManager aiBuildingBlockManager, GameSession gameSession)
Method parameters in de.extio.spacecraft.shared.model.bo with type arguments of type SpaceCraft Modifier and Type Method Description void
AiOrchestrator. registerAggro(UUID sceneTag, int controlGroup, int turn, Collection<SpaceCraft> targets)
SpaceShipValidationOptions
SpaceShipValidationOptions. setForceCompositeEntityType(Class<? extends SpaceCraft> forceCompositeEntityType)
-
Uses of SpaceCraft in de.extio.spacecraft.shared.model.entity.builtin.composite
Subclasses of SpaceCraft in de.extio.spacecraft.shared.model.entity.builtin.composite Modifier and Type Class Description class
SpaceShip
SpaceShip is the class of your choice for ships manned by players.
When to use which type:
* SpaceCraft: Ships controlled by AI, cannot spawn on a player slot in a game session
* SpaceShip: Ships controlled by players or AI, can spawn on a player slot in a game session (but only needs to if players join the ship)
* SpaceStation: Specialization of SpaceShip for stationary stations.class
SpaceStation
SpaceStation is a specialization of SpaceShip for space stations that may be entered by players.
When to use which type:
* SpaceCraft: Ships controlled by AI, cannot spawn on a player slot in a game session
* SpaceShip: Ships controlled by players or AI, can spawn on a player slot in a game session (but only needs to if players join the ship)
* SpaceStation: Specialization of SpaceShip for stationary stations.
-