Uses of Class
org.collebol.shared.math.Vector2D
Packages that use Vector2D
Package
Description
-
Uses of Vector2D in org.collebol.client.audio
Methods in org.collebol.client.audio that return Vector2DMethods in org.collebol.client.audio with parameters of type Vector2DModifier and TypeMethodDescriptionvoidSoundPlayer.playModifiedSound(SoundPlayer.ModifySound sound, Vector2D listenerPosition) Play a modified sound with custom properties to an already existing sound.voidPlay a registered sound by its id.voidSound.setPosition(Vector2D position) -
Uses of Vector2D in org.collebol.client.event.client
Methods in org.collebol.client.event.client that return Vector2DModifier and TypeMethodDescriptionClientLeftClickEvent.getPosition()ClientRightClickEvent.getPosition()Constructors in org.collebol.client.event.client with parameters of type Vector2DModifierConstructorDescriptionClientLeftClickEvent(Vector2D position, boolean press) ClientRightClickEvent(Vector2D position, boolean press) -
Uses of Vector2D in org.collebol.client.event.client.button
Methods in org.collebol.client.event.client.button that return Vector2DModifier and TypeMethodDescriptionClientButtonClickEvent.getPosition()ClientButtonHoverEvent.getPosition()Constructors in org.collebol.client.event.client.button with parameters of type Vector2DModifierConstructorDescriptionClientButtonClickEvent(Vector2D position, KeyType keyType, boolean press, Button button) ClientButtonHoverEvent(Vector2D position, Button button, boolean entered) -
Uses of Vector2D in org.collebol.client.event.client.field
Methods in org.collebol.client.event.client.field that return Vector2DModifier and TypeMethodDescriptionClientFieldClickEvent.getPosition()ClientFieldHoverEvent.getPosition()ClientFieldSubHoverEvent.getPosition()Constructors in org.collebol.client.event.client.field with parameters of type Vector2DModifierConstructorDescriptionClientFieldClickEvent(Vector2D position, KeyType keyType, boolean press, Field field) ClientFieldHoverEvent(Vector2D position, Field field, boolean entered) ClientFieldSubHoverEvent(Vector2D position, Field parent, Component child, int childID, boolean entered) -
Uses of Vector2D in org.collebol.client.gui.graphics
Methods in org.collebol.client.gui.graphics that return Vector2DModifier and TypeMethodDescriptionCamera.getOrigin()The origin of the Camera represents the reference point from which the camera's position and zoom are calculated.Text.getOrigin()Camera.getPosition()Light.getPosition()Text.getPosition()Methods in org.collebol.client.gui.graphics with parameters of type Vector2DModifier and TypeMethodDescriptionvoidAdd a amount to the current camera positionvoidThe origin of the Camera represents the reference point from which the camera's position and zoom are calculated.voidvoidCamera.setPosition(Vector2D position) voidText.setPosition(Vector2D position) Constructors in org.collebol.client.gui.graphics with parameters of type Vector2D -
Uses of Vector2D in org.collebol.client.gui.graphics.renderer
Fields in org.collebol.client.gui.graphics.renderer declared as Vector2DModifier and TypeFieldDescriptionBatch.BatchItem.originPositionBatch.BatchItem.positionBatch.BatchItem.rotationCenterMethods in org.collebol.client.gui.graphics.renderer with parameters of type Vector2DModifier and TypeMethodDescriptionvoidBatch.addItem(Vector2D position, float scale, float rotation, Vector2D rotationCenter, Vector2D originPosition) voidTextureRenderer.render(int id, Vector2D position, float scale, float rotation, Vector2D rotationCenter, Vector2D originPosition, boolean lighting) Render a texture from a registered id.Constructors in org.collebol.client.gui.graphics.renderer with parameters of type Vector2D -
Uses of Vector2D in org.collebol.client.gui.graphics.ui
Methods in org.collebol.client.gui.graphics.ui that return Vector2DMethods in org.collebol.client.gui.graphics.ui with parameters of type Vector2D -
Uses of Vector2D in org.collebol.client.gui.graphics.ui.component
Methods in org.collebol.client.gui.graphics.ui.component with parameters of type Vector2DModifier and TypeMethodDescription -
Uses of Vector2D in org.collebol.client.input
Methods in org.collebol.client.input that return Vector2DMethods in org.collebol.client.input with parameters of type Vector2D -
Uses of Vector2D in org.collebol.client.math
Methods in org.collebol.client.math that return Vector2DModifier and TypeMethodDescriptionCameraCalculator.getPanelPositionFromGameLocation(GameLocation gameLocation) This method calculates the Panel position on screen from a given GameLocation.Methods in org.collebol.client.math with parameters of type Vector2DModifier and TypeMethodDescriptionstatic floatCalculates the volume of a sound based on its position relative to the listener's position.ComponentCalculator.checkIfSubComponent(Field parent, Vector2D position) Checks if there is a subcomponent of the given parent below the mouse.ComponentCalculator.getComponentUnderMouse(Vector2D position, EJGEngine instance) Checks if there is a component below of the mouse.CameraCalculator.getGameLocationFromPanelPosition(Vector2D position) This calculates method will calculate the current GameLocation on the given Vector2D cords.static booleanFrustumCulling.isInFrustum(Camera camera, Vector2D position, EJGEngine e) Checks if a given position is within the camera's frustum.