A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- A - tech.fastj.input.keyboard.Keys
-
Constant representing the "A" key.
- Accept - tech.fastj.input.keyboard.Keys
-
Constant representing the "Accept" key.
- add(float) - Method in class tech.fastj.math.Pointf
-
Adds the values of this
Pointf
to the specified float value, and returns a newPointf
with the modified values. - add(int) - Method in class tech.fastj.math.Point
-
Adds the values of this
Point
to the specified integer value, and returns a newPoint
with the modified values. - add(Point) - Method in class tech.fastj.math.Point
-
Adds the values of this
Point
to the specifiedPoint
, and returns a newPoint
with the modified values. - add(Pointf) - Method in class tech.fastj.math.Pointf
-
Adds the values of this
Pointf
to the specifiedPointf
, and returns a newPointf
with the modified values. - add(Pointf, float) - Static method in class tech.fastj.math.Pointf
-
Static method to add a
Pointf
object by a float value, and return a newPointf
. - add(Pointf, Pointf) - Static method in class tech.fastj.math.Pointf
-
Static method to add two
Pointf
s (from the parameters specified) together, and return a newPointf
object. - add(Point, int) - Static method in class tech.fastj.math.Point
-
Static method to add a
Point
object by an integer value, and return a newPoint
. - add(Point, Point) - Static method in class tech.fastj.math.Point
-
Static method to add two
Point
s (from the parameters specified) together, and return a newPoint
object. - Add - tech.fastj.input.keyboard.Keys
-
Constant representing the "Add" key.
- addBehavior(Behavior, BehaviorHandler) - Method in class tech.fastj.graphics.game.GameObject
- addBehaviorListener(GameObject) - Method in interface tech.fastj.systems.behaviors.BehaviorHandler
-
Adds the specified behavior listener to the behavior handler.
- addGameObject(GameObject) - Method in class tech.fastj.systems.control.DrawableManager
-
Adds the specified game object.
- addKeyboardActionListener(KeyboardActionListener) - Method in class tech.fastj.input.InputManager
-
Adds the specified
KeyboardActionListener
. - addListener(BehaviorHandler, GameObject) - Static method in class tech.fastj.systems.behaviors.BehaviorManager
-
Adds the specified behavior listener to the list aliased to the specified
BehaviorHandler
. - addListenerList(BehaviorHandler) - Static method in class tech.fastj.systems.behaviors.BehaviorManager
-
Adds an alias for the specified
BehaviorHandler
, if one does not already exist. - addMouseActionListener(MouseActionListener) - Method in class tech.fastj.input.InputManager
-
Adds the specified
MouseActionListener
. - addOnAction(Consumer<MouseEvent>) - Method in class tech.fastj.graphics.ui.UIElement
-
Adds the specified action to the UIElement's
onAction
events. - addScene(Scene) - Method in class tech.fastj.systems.control.SceneManager
-
Adds the specified scene into the logic manager.
- addTag(String, Scene) - Method in class tech.fastj.systems.tags.TaggableEntity
-
Adds the specified tag to the object's list of tags.
- addTaggableEntity(T) - Method in interface tech.fastj.systems.tags.TagHandler
-
Adds the specified taggable entity, only if it extends the
Drawable
class. - addTaggableEntity(TagHandler, Drawable) - Static method in class tech.fastj.systems.tags.TagManager
-
Adds the specified taggable entity to the list of taggable entities for the specified tag handler.
- addTaggableEntityList(TagHandler) - Static method in class tech.fastj.systems.tags.TagManager
-
Adds the specified
TagHandler
as an alias to store a list of taggable entities for. - addTagToMasterList(String) - Static method in class tech.fastj.systems.tags.TagManager
-
Adds the specified tag to the master list of tags.
- addUIElement(UIElement) - Method in class tech.fastj.systems.control.DrawableManager
-
Adds the specified ui element.
- Again - tech.fastj.input.keyboard.Keys
-
Constant representing the "Again" key.
- AllCandidates - tech.fastj.input.keyboard.Keys
-
Constant representing the "All candidates" key.
- Alphanumeric - tech.fastj.input.keyboard.Keys
-
Constant representing the "Alphanumeric" key.
- AltGraph - tech.fastj.input.keyboard.Keys
-
Constant representing the "Alt graph" key.
- Amount - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- Ampersand - tech.fastj.input.keyboard.Keys
-
Constant representing the "&" key.
- angle(Pointf, Pointf) - Static method in class tech.fastj.math.Pointf
-
Calculates and returns the angle between the specified
Pointf
s. - angle(Point, Point) - Static method in class tech.fastj.math.Point
-
Calculates and returns the angle between the specified
Point
s. - areKeysDown() - Static method in class tech.fastj.input.keyboard.Keyboard
-
Checks if any keys are pressed.
- asDimension() - Method in class tech.fastj.math.Point
-
Creates a
Dimension
version of thePoint
. - asPointf() - Method in class tech.fastj.math.Point
-
Creates a
Pointf
version of thePoint
. - Asterisk - tech.fastj.input.keyboard.Keys
-
Constant representing the "*" key.
- AtSign - tech.fastj.input.keyboard.Keys
-
Constant representing the "@" key.
- Audio - Interface in tech.fastj.systems.audio
-
The base of sound objects used in FastJ for audio playback.
- AudioEventListener - Class in tech.fastj.systems.audio
-
An event listener for the
Audio
interface. - AudioManager - Class in tech.fastj.systems.audio
-
The manager of all audio-based content.
- AudioManager() - Constructor for class tech.fastj.systems.audio.AudioManager
- Average - tech.fastj.engine.FPSValue
-
The overall average frame count per second.
B
- B - tech.fastj.input.keyboard.Keys
-
Constant representing the "B" key.
- BackQuote - tech.fastj.input.keyboard.Keys
-
Constant representing the "Back quote" key.
- BackSlash - tech.fastj.input.keyboard.Keys
-
Constant representing the "Back slash" key.
- Backspace - tech.fastj.input.keyboard.Keys
-
Constant representing the "Backspace" key.
- balanceControl() - Method in class tech.fastj.systems.audio.StreamedAudio
-
Gets the audio's balance control.
- Begin - tech.fastj.input.keyboard.Keys
-
Constant representing the "Begin" key.
- Behavior - Interface in tech.fastj.systems.behaviors
-
Interface that allows for the addition of behaviors to
GameObject
s. - BehaviorHandler - Interface in tech.fastj.systems.behaviors
-
Interface denoting that the implementing classes directly interface with the
BehaviorManager
class. - BehaviorManager - Class in tech.fastj.systems.behaviors
-
Class to manage behavior listeners for all
BehaviorHandler
s. - Bicubic - Static variable in class tech.fastj.graphics.display.RenderSettings.ImageInterpolation
-
Render setting that sets image interpolation as bilinear.
- Bilinear - Static variable in class tech.fastj.graphics.display.RenderSettings.ImageInterpolation
-
Render setting that sets image interpolation as bilinear.
- BottomLeft - tech.fastj.graphics.Boundary
-
Bottom left boundary -- array index 3.
- BottomRight - tech.fastj.graphics.Boundary
-
Bottom right boundary -- array index 2.
- Boundary - Enum in tech.fastj.graphics
-
Defines aliases for the order in which
Drawable
boundaries are ordered in an array. - BufferSize - Static variable in class tech.fastj.systems.audio.StreamedAudioPlayer
- build() - Method in class tech.fastj.graphics.game.Model2DBuilder
-
Creates a new
Model2D
object, using the data provided by earlier method calls. - build() - Method in class tech.fastj.graphics.game.Polygon2DBuilder
-
Creates a new
Polygon2D
object, using the data provided by earlier method calls. - build() - Method in class tech.fastj.graphics.game.Text2DBuilder
-
Creates a new
Text2D
object, using the data provided by earlier method calls. - build() - Method in interface tech.fastj.graphics.gradients.GradientBuilder
-
Builds a
MultipleGradientPaint
object based on the data provided by other methods in the builder. - build() - Method in class tech.fastj.graphics.gradients.LinearGradientBuilder
-
Creates a new
LinearGradientPaint
object, using the data provided by earlier method calls. - build() - Method in class tech.fastj.graphics.gradients.RadialGradientBuilder
-
Creates a new
RadialGradientPaint
object, using the data provided by other method calls. - Button - Class in tech.fastj.graphics.ui.elements
-
A
UIElement
that can be assigned an action on left click. - Button(Scene) - Constructor for class tech.fastj.graphics.ui.elements.Button
-
Constructs a button with a default location and size.
- Button(Scene, Pointf, Pointf) - Constructor for class tech.fastj.graphics.ui.elements.Button
-
Constructs a button with the specified location and initial size.
- Button(SimpleManager) - Constructor for class tech.fastj.graphics.ui.elements.Button
-
Constructs a button with a default location and size.
- Button(SimpleManager, Pointf, Pointf) - Constructor for class tech.fastj.graphics.ui.elements.Button
-
Constructs a button with the specified location and initial size.
C
- C - tech.fastj.input.keyboard.Keys
-
Constant representing the "C" key.
- CalledAfterRunError - tech.fastj.engine.CrashMessages
-
"The game crashed, due to a method being called that can only be called before the program starts."
- Camera - Class in tech.fastj.graphics.display
-
Class that allows for transformation of the
Display
which the camera is passed to. - Camera() - Constructor for class tech.fastj.graphics.display.Camera
-
Constructs a
Camera
with default transformations. - Camera(Pointf, float, Pointf) - Constructor for class tech.fastj.graphics.display.Camera
-
Constructs a
Camera
with translation and rotation set to the specified values. - Cancel - tech.fastj.input.keyboard.Keys
-
Constant representing the "Cancel" key.
- CapsLock - tech.fastj.input.keyboard.Keys
-
Constant representing the "Caps lock" key.
- centerOf(Pointf[]) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Gets the numerical x and y center of the specified
Pointf
array. - Circumflex - tech.fastj.input.keyboard.Keys
-
Constant representing the "^" key.
- Clear - tech.fastj.input.keyboard.Keys
-
Constant representing the "Clear" key.
- clearAllBehaviors() - Method in class tech.fastj.graphics.game.GameObject
-
Clears the
GameObject
's list ofBehavior
s. - clearAllLists() - Method in class tech.fastj.input.InputManager
-
Clears all action listener lists, effectively resetting the input manager.
- clearAllLists() - Method in class tech.fastj.systems.control.DrawableManager
-
Removes all game objects and ui elements from the manager.
- clearAllLists() - Method in class tech.fastj.systems.control.Scene
-
Removes all elements from the scene.
- clearBehaviorListeners() - Method in interface tech.fastj.systems.behaviors.BehaviorHandler
-
Removes all behavior listeners in the behavior handler.
- clearEntityList(TagHandler) - Static method in class tech.fastj.systems.tags.TagManager
-
Clears the taggable entity list aliased to the specified tag handler.
- clearGameObjects() - Method in class tech.fastj.systems.control.DrawableManager
-
Removes all game objects from the manager.
- clearKeyActionListeners() - Method in class tech.fastj.input.InputManager
-
Clears the list of keyboard action listeners.
- clearListenerList(BehaviorHandler) - Static method in class tech.fastj.systems.behaviors.BehaviorManager
-
Removes all elements from the list aliased to the specified
BehaviorHandler
. - clearMouseActionListeners() - Method in class tech.fastj.input.InputManager
-
Clears the list of mouse action listeners.
- clearTaggableEntities() - Method in interface tech.fastj.systems.tags.TagHandler
-
Removes all taggable entities from the tag handler.
- clearTags() - Method in class tech.fastj.systems.tags.TaggableEntity
-
Removes all tags from this object's tag list.
- clearTags() - Static method in class tech.fastj.systems.tags.TagManager
-
Removes all the tags from the master list.
- clearUIElements() - Method in class tech.fastj.systems.control.DrawableManager
-
Removes all ui elements from the manager.
- Click - tech.fastj.input.mouse.MouseAction
-
Mouse action where a mouse button was pressed and released.
- close() - Method in class tech.fastj.graphics.display.Display
-
Closes and disposes of the
Display
. - CloseBracket - tech.fastj.input.keyboard.Keys
-
Constant representing the "Close bracket" key.
- closeGame() - Static method in class tech.fastj.engine.FastJEngine
-
Closes the game gracefully, without closing the JVM instance.
- CodeInput - tech.fastj.input.keyboard.Keys
-
Constant representing the "Code input" key.
- collidesWith(Drawable) - Method in class tech.fastj.graphics.Drawable
-
Determines whether or not two objects are colliding (intersection).
- collisionPath - Variable in class tech.fastj.graphics.Drawable
-
The shape defining where the Drawable collides.
- Colon - tech.fastj.input.keyboard.Keys
-
Constant representing the ":" key.
- colorLerp(Color, Color, float) - Static method in class tech.fastj.graphics.util.DrawUtil
- colorLerp(Color, Color, float, float, float, float) - Static method in class tech.fastj.graphics.util.DrawUtil
- Comma - tech.fastj.input.keyboard.Keys
-
Constant representing the "Comma" key.
- Compose - tech.fastj.input.keyboard.Keys
-
Constant representing the "Compose" key.
- condition(AWTEvent) - Method in interface tech.fastj.graphics.ui.EventCondition
-
The condition to check for before firing off event actions in a
UIElement
. - ConfigurationError - tech.fastj.engine.CrashMessages
-
"The game crashed, due to a configuration error."
- configure(int, int, Point, Point, HWAccel) - Static method in class tech.fastj.engine.FastJEngine
-
Configures the game's FPS (Frames Per Second), UPS (Updates Per Second), window resolution, internal resolution, and hardware acceleration.
- configureHardwareAcceleration(HWAccel) - Static method in class tech.fastj.engine.FastJEngine
-
Attempts to set the hardware acceleration type of this game engine to the specified parameter.
- configureInternalResolution(Point) - Static method in class tech.fastj.engine.FastJEngine
-
Configures the game's internal resolution.
- configureWindowResolution(Point) - Static method in class tech.fastj.engine.FastJEngine
-
Configures the game's window resolution.
- ContextMenu - tech.fastj.input.keyboard.Keys
-
Constant representing the "Context menu" key.
- ContinuousLoop - Static variable in class tech.fastj.systems.audio.MemoryAudio
-
Signifies that the audio should loop indefinitely when it finishes playing.
- Convert - tech.fastj.input.keyboard.Keys
-
Constant representing the "Convert" key.
- copy() - Method in class tech.fastj.math.Point
-
Gets a copy of the
Point
, and returns the copy. - copy() - Method in class tech.fastj.math.Pointf
-
Gets a copy of the
Pointf
, and returns the copy. - Copy - tech.fastj.input.keyboard.Keys
-
Constant representing the "Copy" key.
- CpuRender - tech.fastj.engine.HWAccel
-
Disables all hardware acceleration.
- CrashMessages - Enum in tech.fastj.engine
-
A simple and effective enum for creating crash messages in FastJ.
- create(String) - Static method in class tech.fastj.graphics.game.Text2D
- create(String, boolean) - Static method in class tech.fastj.graphics.game.Text2D
- create(Polygon2D[]) - Static method in class tech.fastj.graphics.game.Model2D
- create(Polygon2D[], boolean) - Static method in class tech.fastj.graphics.game.Model2D
- create(Pointf[]) - Static method in class tech.fastj.graphics.game.Polygon2D
- create(Pointf[], boolean) - Static method in class tech.fastj.graphics.game.Polygon2D
-
Gets a
Polygon2DBuilder
instance while setting the eventualPolygon2D
'spoints
andshouldRender
fields. - create(Pointf[], RenderStyle) - Static method in class tech.fastj.graphics.game.Polygon2D
-
Gets a
Polygon2DBuilder
instance while setting the eventualPolygon2D
'spoints
andrenderStyle
fields. - create(Pointf[], RenderStyle, boolean) - Static method in class tech.fastj.graphics.game.Polygon2D
-
Gets a
Polygon2DBuilder
instance while setting the eventualPolygon2D
'spoints
,renderStyle
, andshouldRender
fields. - createBox(float, float, float) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Creates a
Pointf
array of 4 points, based on the specified x, y, and size floats. - createBox(float, float, float, float) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Creates a
Pointf
array of 4 points, based on the specified x, y, width, and height floats. - createBox(float, float, Pointf) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Creates a
Pointf
array of 4 points, based on the specified x and y floats, and sizePointf
. - createBox(Rectangle2D.Float) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Creates a
Pointf
array of 4 points, based on theRectangle2D.Float
parameter. - createBox(Pointf, float) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Creates a
Pointf
array of 4 points, based on the specified locationPointf
and size float. - createBox(Pointf, Pointf) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Creates a
Pointf
array of 4 points, based on the specified locationPointf
and sizePointf
. - createBoxFromImage(BufferedImage) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Creates a
Pointf
array of 4 points, based on the specifiedBufferedImage
. - createBoxFromImage(BufferedImage, Pointf) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Creates a
Pointf
array of 4 points, based on the specifiedBufferedImage
and the locationPointf
. - createCollisionOutline(Polygon2D[]) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Creates a
Pointf
array representing an outline of the specifiedPolygon2D
array. - createPath(Pointf[]) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Creates a
Path2D.Float
based on the specifiedPointf
array. - createRect(Pointf[]) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Creates a
Rectangle2D.Float
based on the specifiedPointf
array. - createRectFromImage(BufferedImage, Pointf) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Creates a
Rectangle2D.Float
based on the specifiedBufferedImage
and the locationPointf
. - cross(Pointf, Pointf) - Static method in class tech.fastj.math.Pointf
-
Calculates and returns the cross product of the two specified
Pointf
s. - cross(Point, Point) - Static method in class tech.fastj.math.Point
-
Calculates and returns the cross product of the two specified
Point
s. - Current - tech.fastj.engine.FPSValue
-
The most recently calculated frame count per second.
- Cut - tech.fastj.input.keyboard.Keys
-
Constant representing the "Cut" key.
D
- D - tech.fastj.input.keyboard.Keys
-
Constant representing the "D" key.
- DeadAboveDot - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead above dot" key.
- DeadAboveRing - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead above ring" key.
- DeadAcute - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead acute" key.
- DeadBreve - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead breve" key.
- DeadCaron - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead caron" key.
- DeadCedilla - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead cedilla" key.
- DeadCircumflex - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead circumflex" key.
- DeadDiaeresis - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead diaeresis" key.
- DeadDoubleAcute - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead double acute" key.
- DeadGrave - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead grave" key.
- DeadIota - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead iota" key.
- DeadMacron - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead macron" key.
- DeadOgonek - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead ogonek" key.
- DeadSemiVoicedSound - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead semi-voiced sound" key.
- DeadTilde - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead tilde" key.
- DeadVoicedSound - tech.fastj.input.keyboard.Keys
-
Constant representing the "Dead voiced sound" key.
- Decimal - tech.fastj.input.keyboard.Keys
-
Constant representing the "Decimal" key.
- Default - tech.fastj.engine.HWAccel
-
Leaves the configuration of hardware acceleration as the OS-decided default.
- Default - Static variable in class tech.fastj.graphics.display.Camera
-
A camera with no transformations.
- DefaultBackBufferAmount - Static variable in class tech.fastj.graphics.display.Display
-
Integer representing the default back buffer amount of
3
. - DefaultFill - Static variable in class tech.fastj.graphics.game.Polygon2D
-
Paint
representing the default fill paint value as the color black. - DefaultFill - Static variable in class tech.fastj.graphics.game.Text2D
-
Paint
representing the default color value of(0, 0, 0)
. - DefaultFill - Static variable in class tech.fastj.graphics.ui.elements.Button
-
Paint
representing the default color value of(0, 255, 255)
. - DefaultFont - Static variable in class tech.fastj.graphics.game.Text2D
-
Font
representing the default font ofTahoma 16px
. - DefaultFont - Static variable in class tech.fastj.graphics.ui.elements.Button
-
Font
representing the default font ofTahoma 16px
. - DefaultFPS - Static variable in class tech.fastj.engine.FastJEngine
-
Default engine value for "frames per second" of at least
60
, depending on the monitor's refresh rate. - DefaultInternalResolution - Static variable in class tech.fastj.engine.FastJEngine
-
Default engine value for the window resolution of the
Display
of1280*720
. - DefaultOutlineColor - Static variable in class tech.fastj.graphics.game.Polygon2D
-
Color
representing the default outline color value as the color black. - DefaultOutlineStroke - Static variable in class tech.fastj.graphics.game.Polygon2D
-
Stroke
representing the default outline stroke value as a 1px outline with sharp edges. - DefaultRenderStyle - Static variable in class tech.fastj.graphics.game.Polygon2D
-
RenderStyle
representing the default render style as fill only, orRenderStyle.Fill
. - DefaultRotation - Static variable in class tech.fastj.math.Transform2D
-
float
representing a default rotation value of0f
. - DefaultScale - Static variable in class tech.fastj.math.Transform2D
-
Pointf
representing a default scale of(1f, 1f)
. - DefaultShouldRender - Static variable in class tech.fastj.graphics.Drawable
-
boolean
representing the default value for if aDrawable
should be rendered astrue
. - DefaultSize - Static variable in class tech.fastj.graphics.ui.elements.Button
-
The default size of a
Button
: (100f, 25f). - DefaultText - Static variable in class tech.fastj.graphics.ui.elements.Button
-
The default text value of a
Button
: an empty string. - DefaultTranslation - Static variable in class tech.fastj.math.Transform2D
-
Pointf
representing a default translation of(0f, 0f)
. - DefaultUPS - Static variable in class tech.fastj.engine.FastJEngine
-
Default engine value for "updates per second" of
60
. - DefaultWindowResolution - Static variable in class tech.fastj.engine.FastJEngine
-
Default engine value for the window resolution of the
Display
of1280*720
. - Delete - tech.fastj.input.keyboard.Keys
-
Constant representing the "Delete" key.
- denormalize(float, float, float) - Static method in class tech.fastj.math.Maths
-
Scales a normalized number
normalizedNum
on a scale ofmin
tomax
, based on the providedmin
andmax
values. - destroy() - Method in interface tech.fastj.systems.behaviors.Behavior
-
Destroys any leftover memory in the
Behavior
. - destroy(Scene) - Method in class tech.fastj.graphics.Drawable
-
Destroys all memory the
Drawable
uses. - destroy(Scene) - Method in class tech.fastj.graphics.game.Model2D
- destroy(Scene) - Method in class tech.fastj.graphics.game.Polygon2D
- destroy(Scene) - Method in class tech.fastj.graphics.game.Text2D
- destroy(Scene) - Method in class tech.fastj.graphics.ui.elements.Button
- destroy(SimpleManager) - Method in class tech.fastj.graphics.Drawable
-
Destroys all memory the
Drawable
uses. - destroy(SimpleManager) - Method in class tech.fastj.graphics.game.Model2D
- destroy(SimpleManager) - Method in class tech.fastj.graphics.game.Polygon2D
- destroy(SimpleManager) - Method in class tech.fastj.graphics.game.Text2D
- destroy(SimpleManager) - Method in class tech.fastj.graphics.ui.elements.Button
- destroyAllBehaviors() - Method in class tech.fastj.graphics.game.GameObject
-
Calls the
Behavior.destroy()
method for each of theGameObject
's behaviors. - destroyTheRest(Scene) - Method in class tech.fastj.graphics.Drawable
-
Destroys the
Drawable
'sDrawable
components, as well as any references theDrawable
has within theScene
parameter. - destroyTheRest(Scene) - Method in class tech.fastj.graphics.game.GameObject
-
Destroys all references of the
GameObject
's behaviors and removes its references from the scene. - destroyTheRest(Scene) - Method in class tech.fastj.graphics.ui.UIElement
-
Removes the
UIElement
's references in the specified scene as a GUI object and as a mouse listener. - destroyTheRest(SimpleManager) - Method in class tech.fastj.graphics.Drawable
-
Destroys the
Drawable
'sDrawable
components, as well as any references theDrawable
has within theSimpleManager
parameter. - destroyTheRest(SimpleManager) - Method in class tech.fastj.graphics.game.GameObject
-
Destroys all references of the
GameObject
's behaviors and removes its references from theSimpleManager
. - destroyTheRest(SimpleManager) - Method in class tech.fastj.graphics.ui.UIElement
-
Removes the
UIElement
's references in the specifiedSimpleManager
as a GUI object and as a mouse listener. - Direct3D - tech.fastj.engine.HWAccel
-
Enables Direct 3D Draw hardware acceleration.
- Disable - Static variable in class tech.fastj.graphics.display.RenderSettings.Antialiasing
-
Render setting that disables anti-aliasing.
- Disable - Static variable in class tech.fastj.graphics.display.RenderSettings.Dithering
-
Render setting that disables dithering when rendering polygons.
- Disable - Static variable in class tech.fastj.graphics.display.RenderSettings.SubpixelTextRendering
-
Render setting that disables subpixel text rendering.
- Disable - Static variable in class tech.fastj.graphics.display.RenderSettings.TextAntialiasing
-
Render setting that disables text anti-aliasing.
- Display - Class in tech.fastj.graphics.display
-
Class that draws to a screen using a combination of Swing's JFrame, and AWT's Canvas.
- Display(String, Point, Point) - Constructor for class tech.fastj.graphics.display.Display
-
Creates a display with the specified title, window resolution, and internal resolution.
- DisplayUtil - Class in tech.fastj.graphics.util
-
Class that provides supplementary methods for working with
Display
s. - divide(float) - Method in class tech.fastj.math.Pointf
-
Divides the values of this
Pointf
by the specified float value, and returns a newPointf
with the modified values. - divide(int) - Method in class tech.fastj.math.Point
-
Divides the values of this
Point
by the specified integer value, and returns a newPoint
with the modified values. - divide(Point) - Method in class tech.fastj.math.Point
-
Divides the values of this
Point
by the specifiedPoint
, and returns a newPoint
with the modified values. - divide(Pointf) - Method in class tech.fastj.math.Pointf
-
Divides the values of this
Pointf
by the specifiedPointf
, and returns a newPointf
with the modified values. - divide(Pointf, float) - Static method in class tech.fastj.math.Pointf
-
Static method to divide a
Pointf
object by a float value, and return a newPointf
. - divide(Pointf, Pointf) - Static method in class tech.fastj.math.Pointf
-
Static method to divide two
Pointf
objects (from the parameters specified) together, and return a newPointf
. - divide(Point, int) - Static method in class tech.fastj.math.Point
-
Static method to divide a
Point
object by an integer value, and return a newPoint
. - divide(Point, Point) - Static method in class tech.fastj.math.Point
-
Static method to divide two
Point
objects (from the parameters specified) together, and return a newPoint
. - Divide - tech.fastj.input.keyboard.Keys
-
Constant representing the "Divide" key.
- doesTagExist(String) - Static method in class tech.fastj.systems.tags.TagManager
-
Determines whether a tag is in the master list.
- DollarSign - tech.fastj.input.keyboard.Keys
-
Constant representing the "$" key.
- dot(Pointf, Pointf) - Static method in class tech.fastj.math.Pointf
-
Calculates and returns the dot product of the two specified
Pointf
s. - dot(Point, Point) - Static method in class tech.fastj.math.Point
-
Calculates and returns the dot product of the two specified
Point
s. - Down - tech.fastj.input.keyboard.Keys
-
Constant representing the "Down" key.
- Drag - tech.fastj.input.mouse.MouseAction
-
Mouse action where the mouse was moved while a button was clicked.
- Drawable - Class in tech.fastj.graphics
-
The abstract class to objects that can be drawn to a
Display
. - Drawable() - Constructor for class tech.fastj.graphics.Drawable
-
Constructs a
Drawable
, initializing its internal variables. - drawableManager - Variable in class tech.fastj.systems.control.Scene
-
Drawable manager instance for the scene -- it controls the scene's game objects and ui elements.
- drawableManager - Variable in class tech.fastj.systems.control.SimpleManager
- DrawableManager - Class in tech.fastj.systems.control
-
Class to manage
Drawable
objects. - DrawableManager() - Constructor for class tech.fastj.systems.control.DrawableManager
-
Initializes a
DrawableManager
's internals. - DrawUtil - Class in tech.fastj.graphics.util
-
Class that provides supplementary methods for working with
Drawable
s.
E
- E - tech.fastj.input.keyboard.Keys
-
Constant representing the "E" key.
- Eight - tech.fastj.input.keyboard.Keys
-
Constant representing the "8" key.
- Empty - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- Enable - Static variable in class tech.fastj.graphics.display.RenderSettings.Antialiasing
-
Render setting that enables anti-aliasing.
- Enable - Static variable in class tech.fastj.graphics.display.RenderSettings.Dithering
-
Render setting that enables dithering when rendering polygons.
- Enable - Static variable in class tech.fastj.graphics.display.RenderSettings.SubpixelTextRendering
-
Render setting that enables subpixel text rendering.
- Enable - Static variable in class tech.fastj.graphics.display.RenderSettings.TextAntialiasing
-
Render setting that enables text anti-aliasing.
- End - tech.fastj.input.keyboard.Keys
-
Constant representing the "End" key.
- endProcess(MouseAction) - Static method in class tech.fastj.input.mouse.Mouse
-
Forces a quick end to the specified mouse action.
- Enter - tech.fastj.input.keyboard.Keys
-
Constant representing the "Enter" key.
- Enter - tech.fastj.input.mouse.MouseAction
-
Mouse action where the mouse has moved onto the
Display
. - equals(Object) - Method in class tech.fastj.graphics.display.Camera
- equals(Object) - Method in class tech.fastj.graphics.game.GameObject
- equals(Object) - Method in class tech.fastj.graphics.game.Model2D
-
Checks for equality between the
Model2D
and the other specified. - equals(Object) - Method in class tech.fastj.graphics.game.Polygon2D
-
Checks for equality between the
Polygon2D
and the other specified. - equals(Object) - Method in class tech.fastj.graphics.game.Text2D
- equals(Object) - Method in class tech.fastj.math.Point
-
Compares two
Point
s, and returns whether they are equal. - equals(Object) - Method in class tech.fastj.math.Pointf
-
Compares two
Pointf
s, and returns whether they are equal. - equals(Object) - Method in class tech.fastj.math.Transform2D
- Equals - tech.fastj.input.keyboard.Keys
-
Constant representing the "Equals" key.
- equalsDimension(Dimension) - Method in class tech.fastj.math.Point
-
Compares the
Point
with aDimension
, and returns whether thePoint
'sx
andy
values are equal to theDimension
'swidth
andheight
values, respectively. - equalsPoint(Point) - Method in class tech.fastj.math.Pointf
- equalsPointf(Pointf) - Method in class tech.fastj.math.Point
- error(T, Exception) - Static method in class tech.fastj.engine.FastJEngine
-
Forcefully closes the game, then throws the error specified with the error message.
- errorMessage - Variable in enum tech.fastj.engine.CrashMessages
-
The error message of the enum constant.
- Escape - tech.fastj.input.keyboard.Keys
-
Constant representing the "Escape" key.
- EuroSign - tech.fastj.input.keyboard.Keys
-
Constant representing the "Euro currency sign" key.
- EventCondition - Interface in tech.fastj.graphics.ui
-
Class to ensure that an event only applies to a
UIElement
if the condition specified is met. - ExclamationMark - tech.fastj.input.keyboard.Keys
-
Constant representing the "!" key.
- Exit - tech.fastj.input.mouse.MouseAction
-
Mouse action where the mouse has moved off of the
Display
.
F
- F - tech.fastj.input.keyboard.Keys
-
Constant representing the "F" key.
- F1 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F1" key.
- F10 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F10" key.
- F11 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F11" key.
- F12 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F12" key.
- F13 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F13" key.
- F14 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F14" key.
- F15 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F15" key.
- F16 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F16" key.
- F17 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F17" key.
- F18 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F18" key.
- F19 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F19" key.
- F2 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F2" key.
- F20 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F20" key.
- F21 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F21" key.
- F22 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F22" key.
- F23 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F23" key.
- F24 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F24" key.
- F3 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F3" key.
- F4 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F4" key.
- F5 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F5" key.
- F6 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F6" key.
- F7 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F7" key.
- F8 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F8" key.
- F9 - tech.fastj.input.keyboard.Keys
-
Constant representing the "F9" key.
- fastj.library - module fastj.library
-
The FastJ Library in its entirety.
- FastJEngine - Class in tech.fastj.engine
-
The main control hub of the game engine.
- FileUtil - Class in tech.fastj.systems.fio
-
Class that provides supplementary methods for working with files and
Path
s. - FileUtil() - Constructor for class tech.fastj.systems.fio.FileUtil
- Fill - tech.fastj.graphics.game.RenderStyle
- FillAndOutline - tech.fastj.graphics.game.RenderStyle
- FillPaintColor - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- FillPaintLinearGradient - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- FillPaintRadialGradient - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- FinalKey - tech.fastj.input.keyboard.Keys
-
Constant representing the "final" key.
- Find - tech.fastj.input.keyboard.Keys
-
Constant representing the "Find" key.
- fireEvent(LineEvent) - Method in class tech.fastj.systems.audio.AudioEventListener
-
Fires an audio event to the event listener.
- fireKeyEvent(KeyboardEvent) - Method in class tech.fastj.input.InputManager
-
Fires a keyboard event to all listening
KeyboardActionListeners
. - fireKeysDown() - Method in class tech.fastj.input.InputManager
-
Fires a
keys down
event to all listeningKeyboardActionListeners
. - fireMouseEvent(MouseEvent) - Method in class tech.fastj.input.InputManager
-
Fires a mouse event to all listening
MouseActionListeners
. - FitToScreenDPI - Static variable in class tech.fastj.graphics.display.RenderSettings.ImageVariantResolution
-
Render setting that specifies to choose image resolutions based on the screen DPI.
- FitToSize - Static variable in class tech.fastj.graphics.display.RenderSettings.ImageVariantResolution
-
Render setting that specifies to choose image resolutions based on the camera transformation and screen DPI.
- Five - tech.fastj.input.keyboard.Keys
-
Constant representing the "5" key.
- floatEquals(float, float) - Static method in class tech.fastj.math.Maths
-
Checks for 'equality' between two floating point values through ensuring their difference is less than the defined float precision value
Maths.FloatPrecision
. - FloatPrecision - Static variable in class tech.fastj.math.Maths
-
The desired floating point precision for FastJ.
- forceCloseGame() - Static method in class tech.fastj.engine.FastJEngine
-
Closes the game forcefully, without closing the JVM instance.
- Four - tech.fastj.input.keyboard.Keys
-
Constant representing the "4" key.
- FPSValue - Enum in tech.fastj.engine
-
The different data options available when calling
FastJEngine.getFPSData(tech.fastj.engine.FPSValue)
. - fromPoints(Pointf[]) - Static method in class tech.fastj.graphics.game.Polygon2D
-
Creates a
Polygon2D
from the specified points. - fromPolygons(Polygon2D[]) - Static method in class tech.fastj.graphics.game.Model2D
-
Creates a
Model2D
from the specified points. - fromText(String) - Static method in class tech.fastj.graphics.game.Text2D
-
Creates a
Text2D
from the specified text. - FullWidth - tech.fastj.input.keyboard.Keys
-
Constant representing the "Full width" key.
G
- G - tech.fastj.input.keyboard.Keys
-
Constant representing the "G" key.
- gainControl() - Method in class tech.fastj.systems.audio.StreamedAudio
-
Gets the audio's gain control.
- GameObject - Class in tech.fastj.graphics.game
-
A type of
Drawable
that can be easily transformed and otherwise manipulated. - GameObject() - Constructor for class tech.fastj.graphics.game.GameObject
-
Initializes
GameObject
internals. - Gasp - Static variable in class tech.fastj.graphics.display.RenderSettings.TextAntialiasing
-
Render setting that enables anti-aliasing based on font resource specifications.
- get(KeyEvent) - Static method in enum tech.fastj.input.keyboard.Keys
-
Attempts to find a key based on the provided
keyEvent
. - get(String, int, int) - Static method in enum tech.fastj.input.keyboard.Keys
-
Attempts to find a key based on the provided
keyName
,keyCode
, andkeyLocation
. - getAffineTransform() - Method in class tech.fastj.math.Transform2D
- getAllInListWithTag(TagHandler, String) - Static method in class tech.fastj.systems.tags.TagManager
-
Gets all taggable entities in the specified
TagHandler
with the specified tag. - getAllWithTag(String) - Method in interface tech.fastj.systems.tags.TagHandler
-
Gets all taggable entities with the specified tag.
- getAllWithTag(String) - Static method in class tech.fastj.systems.tags.TagManager
-
Gets all taggable entities from all
TagHandler
s with the specified tag. - getAudioCloseAction() - Method in class tech.fastj.systems.audio.AudioEventListener
-
Gets the "audio close" event action.
- getAudioEventListener() - Method in interface tech.fastj.systems.audio.Audio
-
Gets the audio's
AudioEventListener
. - getAudioEventListener() - Method in class tech.fastj.systems.audio.MemoryAudio
- getAudioEventListener() - Method in class tech.fastj.systems.audio.StreamedAudio
- getAudioInputStream() - Method in interface tech.fastj.systems.audio.Audio
-
Gets the audio's
AudioInputStream
object. - getAudioInputStream() - Method in class tech.fastj.systems.audio.MemoryAudio
- getAudioInputStream() - Method in class tech.fastj.systems.audio.StreamedAudio
- getAudioOpenAction() - Method in class tech.fastj.systems.audio.AudioEventListener
-
Gets the "audio open" event action.
- getAudioPath() - Method in interface tech.fastj.systems.audio.Audio
-
Gets the audio's
Path
. - getAudioPath() - Method in class tech.fastj.systems.audio.MemoryAudio
- getAudioPath() - Method in class tech.fastj.systems.audio.StreamedAudio
- getAudioPauseAction() - Method in class tech.fastj.systems.audio.AudioEventListener
-
Gets the "audio pause" event action.
- getAudioResumeAction() - Method in class tech.fastj.systems.audio.AudioEventListener
-
Gets the "audio resume" event action.
- getAudioSource() - Method in interface tech.fastj.systems.audio.Audio
-
Gets the audio's backing source object.
- getAudioSource() - Method in class tech.fastj.systems.audio.MemoryAudio
-
Gets the audio's backing
Clip
object. - getAudioSource() - Method in class tech.fastj.systems.audio.StreamedAudio
-
Gets the audio's backing
SourceDataLine
object. - getAudioStartAction() - Method in class tech.fastj.systems.audio.AudioEventListener
-
Gets the "audio start" event action.
- getAudioStopAction() - Method in class tech.fastj.systems.audio.AudioEventListener
-
Gets the "audio stop" event action.
- getBackground() - Method in class tech.fastj.graphics.display.Display
-
Gets the background of the
Display
. - getBackgroundColor() - Method in class tech.fastj.graphics.display.Display
-
Gets the color of the background of the
Display
. - getBehaviorListeners() - Method in interface tech.fastj.systems.behaviors.BehaviorHandler
-
Gets the behavior listeners assigned to the behavior handler.
- getBehaviors() - Method in class tech.fastj.graphics.game.GameObject
-
Gets the
GameObject
's list ofBehavior
s. - getBound(Boundary) - Method in class tech.fastj.graphics.Drawable
-
Gets one of the boundaries of the
Drawable
, based on the specifiedBoundary
parameter. - getBounds() - Method in class tech.fastj.graphics.Drawable
-
Gets the boundaries of the
Drawable
. - getButtonLastClicked() - Static method in class tech.fastj.input.mouse.Mouse
-
Gets the value of the button that was last clicked.
- getButtonLastPressed() - Static method in class tech.fastj.input.mouse.Mouse
-
Gets the value of the button that was last pressed.
- getButtonLastReleased() - Static method in class tech.fastj.input.mouse.Mouse
-
Gets the value of the button that was last released.
- getCamera() - Method in class tech.fastj.systems.control.Scene
-
Gets the camera of the scene.
- getCamera() - Method in class tech.fastj.systems.control.SimpleManager
-
Gets the
Camera
of the manager. - getCanvas() - Method in class tech.fastj.graphics.display.Display
-
Gets the
Canvas
of theDisplay
. - getCenter() - Method in class tech.fastj.graphics.display.Camera
-
Gets the centerpoint of the
Camera
. - getCenter() - Method in class tech.fastj.graphics.Drawable
-
Gets the center point of the
Drawable
. - getCollisionPath() - Method in class tech.fastj.graphics.Drawable
-
Gets the collision path of the
Drawable
. - getCurrentPlaybackState() - Method in interface tech.fastj.systems.audio.Audio
-
Gets the audio's current playback state.
- getCurrentPlaybackState() - Method in class tech.fastj.systems.audio.MemoryAudio
- getCurrentPlaybackState() - Method in class tech.fastj.systems.audio.StreamedAudio
- getCurrentScene() - Method in class tech.fastj.systems.control.SceneManager
-
Gets the currently active scene.
- getDefaultMonitor() - Static method in class tech.fastj.graphics.util.DisplayUtil
-
Gets the default monitor.
- getDefaultMonitorDimensions() - Static method in class tech.fastj.graphics.util.DisplayUtil
-
Gets the dimensions of the default monitor.
- getDefaultMonitorRefreshRate() - Static method in class tech.fastj.graphics.util.DisplayUtil
-
Gets the refresh rate of the default monitor.
- getDisplay() - Static method in class tech.fastj.engine.FastJEngine
-
Gets the
Display
object associated with the game engine. - getDisplayedTitle() - Method in class tech.fastj.graphics.display.Display
-
Gets the title currently being displayed in the title bar of the
Display
. - getElapsedTime() - Method in class tech.fastj.engine.internals.Timer
-
Re-evaluates the last loop time, then returns the time passed since the last loop.
- getEntityList(TagHandler) - Static method in class tech.fastj.systems.tags.TagManager
-
Gets the list of taggable entities at the specified
TagHandler
. - getFileExtension(Path) - Static method in class tech.fastj.systems.fio.FileUtil
-
Gets the file extension of the specified path.
- getFill() - Method in class tech.fastj.graphics.game.Polygon2D
-
Gets the polygon's fill paint.
- getFill() - Method in class tech.fastj.graphics.game.Text2D
-
Gets the
Text2D
's fillPaint
. - getFill() - Method in class tech.fastj.graphics.ui.elements.Button
-
Gets the
Paint
object for the button. - getFont() - Method in class tech.fastj.graphics.game.Text2D
-
Gets the
Text2D
'sFont
. - getFont() - Method in class tech.fastj.graphics.ui.elements.Button
-
Gets the
Font
object for the button. - getFPSData(FPSValue) - Static method in class tech.fastj.engine.FastJEngine
-
Gets the FPS-based value of the parameter specified.
- getGameObjects() - Method in class tech.fastj.systems.control.DrawableManager
-
Gets the game objects assigned to the manager.
- getGraphics() - Method in class tech.fastj.graphics.display.Display
-
Gets the
Graphics2D
object associated with thisDisplay
, set to the transformation of the current scene's camera. - getHardwareAcceleration() - Static method in class tech.fastj.engine.FastJEngine
-
Gets the hardware acceleration currently enabled for the game engine.
- getIcon() - Method in class tech.fastj.graphics.display.Display
-
Gets the displayed icon of the
Display
. - getID() - Method in class tech.fastj.graphics.Drawable
-
Gets the
String
ID of theDrawable
. - getID() - Method in interface tech.fastj.systems.audio.Audio
-
Gets the audio path's id.
- getID() - Method in class tech.fastj.systems.audio.MemoryAudio
- getID() - Method in class tech.fastj.systems.audio.StreamedAudio
- getInternalResolution() - Method in class tech.fastj.graphics.display.Display
-
Gets the internal resolution of the
Display
. - getJFrame() - Method in class tech.fastj.graphics.display.Display
-
Gets the
JFrame
of theDisplay
. - getKey() - Method in class tech.fastj.input.keyboard.KeyboardStateEvent
- getKeyboardActionListeners() - Method in class tech.fastj.input.InputManager
-
Gets the list of keyboard action listeners for this
InputManager
. - getKeyCode() - Method in enum tech.fastj.input.keyboard.Keys
-
Gets the key code of the specified key.
- getKeyEvent() - Method in interface tech.fastj.input.keyboard.KeyboardEvent
- getKeyEvent() - Method in class tech.fastj.input.keyboard.KeyboardStateEvent
- getKeyEvent() - Method in class tech.fastj.input.keyboard.KeyboardTypedEvent
- getKeyLocation() - Method in enum tech.fastj.input.keyboard.Keys
-
Gets the key location of the specified key.
- getKeyName() - Method in interface tech.fastj.input.keyboard.KeyboardEvent
- getKeyName() - Method in class tech.fastj.input.keyboard.KeyboardStateEvent
- getKeyName() - Method in class tech.fastj.input.keyboard.KeyboardTypedEvent
- getLastKeyPressed() - Static method in class tech.fastj.input.keyboard.Keyboard
-
Gets the last key character pressed.
- getLastLoopTime() - Method in class tech.fastj.engine.internals.Timer
-
Gets the last loop time.
- getList(BehaviorHandler) - Static method in class tech.fastj.systems.behaviors.BehaviorManager
-
Gets the specified list of behavior listeners aliased to the specified
BehaviorHandler
. - getLogicManager() - Static method in class tech.fastj.engine.FastJEngine
-
Gets the
LogicManager
associated with the game engine. - getLoopCount() - Method in class tech.fastj.systems.audio.MemoryAudio
-
Gets the audio's loop count -- the amount of times the audio should loop.
- getLoopEnd() - Method in class tech.fastj.systems.audio.MemoryAudio
-
Gets the audio's ending point for looping, on a scale of
0.0
to1.0
. - getLoopStart() - Method in class tech.fastj.systems.audio.MemoryAudio
-
Gets the audio's starting point for looping, on a scale of
0.0
to1.0
. - getMemoryAudio(String) - Static method in class tech.fastj.systems.audio.AudioManager
-
Gets the
MemoryAudio
object from the loaded audio sets based on the providedaudioPath
. - getMonitor(int) - Static method in class tech.fastj.graphics.util.DisplayUtil
-
Gets the specified monitor.
- getMonitorCount() - Static method in class tech.fastj.graphics.util.DisplayUtil
-
Gets the amount of monitors the user has.
- getMonitorDimensions(int) - Static method in class tech.fastj.graphics.util.DisplayUtil
-
Gets the dimensions of the specified monitor.
- getMonitorRefreshRate(int) - Static method in class tech.fastj.graphics.util.DisplayUtil
-
Gets the refresh rate of the specified monitor.
- getMonitors() - Static method in class tech.fastj.graphics.util.DisplayUtil
-
Gets all monitors currently available.
- getMouseActionListeners() - Method in class tech.fastj.input.InputManager
-
Gets the list of mouse action listeners for this
InputManager
. - getMouseLocation() - Static method in class tech.fastj.input.mouse.Mouse
-
Gets the location of the mouse on the
Display
. - getOriginalPoints() - Method in class tech.fastj.graphics.game.Polygon2D
-
Gets the polygon's original point set.
- getOutlineColor() - Method in class tech.fastj.graphics.game.Polygon2D
-
Gets the polygon's outline color.
- getOutlineStroke() - Method in class tech.fastj.graphics.game.Polygon2D
-
Gets the polygon's outline stroke.
- getPlaybackPosition() - Method in interface tech.fastj.systems.audio.Audio
-
Gets the audio's current playback position, in milliseconds.
- getPoints() - Method in class tech.fastj.graphics.game.Polygon2D
-
Gets the
Pointf
array associated with the current state of the polygon. - getPolygons() - Method in class tech.fastj.graphics.game.Model2D
-
Gets the array of
Polygon2D
s for this Model2D. - getPreviousPlaybackState() - Method in interface tech.fastj.systems.audio.Audio
-
Gets the audio's previous playback state.
- getPreviousPlaybackState() - Method in class tech.fastj.systems.audio.MemoryAudio
- getPreviousPlaybackState() - Method in class tech.fastj.systems.audio.StreamedAudio
- getRenderStyle() - Method in class tech.fastj.graphics.game.Polygon2D
-
Gets the polygon's render style.
- getResolutionScale() - Method in class tech.fastj.graphics.display.Display
-
Gets the scaling of the
Display
resolution. - getRotation() - Method in class tech.fastj.graphics.display.Camera
-
Gets the
Camera
's rotation. - getRotation() - Method in class tech.fastj.graphics.Drawable
-
Gets the
Drawable
's rotation. - getRotation() - Method in class tech.fastj.math.Transform2D
- getRotationWithin360() - Method in class tech.fastj.graphics.display.Camera
-
Gets the rotation, normalized to be within a range of
(-360, 360)
. - getRotationWithin360() - Method in class tech.fastj.graphics.Drawable
-
Gets the rotation, normalized to be within a range of
(-360, 360)
. - getRotationWithin360() - Method in class tech.fastj.math.Transform2D
- getScale() - Method in class tech.fastj.graphics.display.Camera
-
Gets the
Camera
's scale. - getScale() - Method in class tech.fastj.graphics.Drawable
-
Gets the
Drawable
's scale. - getScale() - Method in class tech.fastj.math.Transform2D
- getScene(String) - Method in class tech.fastj.systems.control.SceneManager
-
Gets the scene with the specified scene name, if it exists.
- getSceneName() - Method in class tech.fastj.systems.control.Scene
-
Gets the name of the scene.
- getScenes() - Method in class tech.fastj.systems.control.SceneManager
-
Gets the list of all scenes in the logic manager.
- getScreenCenter() - Method in class tech.fastj.graphics.display.Display
-
Gets the centerpoint of the
Display
's internal resolution. - getScrollDirection() - Static method in class tech.fastj.input.mouse.Mouse
-
Gets the last mouse wheel scroll direction.
- getStreamedAudio(String) - Static method in class tech.fastj.systems.audio.AudioManager
-
Gets the
StreamedAudio
object from the loaded audio sets based on the providedaudioPath
. - getTaggableEntities() - Method in interface tech.fastj.systems.tags.TagHandler
-
Gets the taggable entities assigned to the tag handler.
- getTags() - Method in class tech.fastj.systems.tags.TaggableEntity
-
Gets the
TaggableEntity
's list of tags. - getTargetFPS() - Static method in class tech.fastj.engine.FastJEngine
-
Gets the engine's current target FPS.
- getTargetUPS() - Static method in class tech.fastj.engine.FastJEngine
-
Gets the engine's current target UPS.
- getText() - Method in class tech.fastj.graphics.game.Text2D
-
Gets the
Text2D
's displayed text. - getText() - Method in class tech.fastj.graphics.ui.elements.Button
-
Gets the text for the button.
- getTime() - Method in class tech.fastj.engine.internals.Timer
-
Gets the current time, in nanoseconds.
- getTitle() - Method in class tech.fastj.graphics.display.Display
-
Gets the title of the
Display
. - getTransformation() - Method in class tech.fastj.graphics.display.Camera
-
Gets the entire transformation of the
Camera
. - getTransformation() - Method in class tech.fastj.graphics.Drawable
-
Gets the entire transformation of the
Drawable
. - getTranslation() - Method in class tech.fastj.graphics.display.Camera
-
Gets the
Camera
's translation. - getTranslation() - Method in class tech.fastj.graphics.Drawable
-
Gets the
Drawable
's translation. - getTranslation() - Method in class tech.fastj.math.Transform2D
- getUIElements() - Method in class tech.fastj.systems.control.DrawableManager
-
Gets the ui elements assigned to the manager.
- getUUID() - Method in class tech.fastj.graphics.Drawable
-
Gets the raw
UUID
of theDrawable
. - getWindowResolution() - Method in class tech.fastj.graphics.display.Display
-
Gets the window resolution of the
Display
. - GradientBuilder - Interface in tech.fastj.graphics.gradients
-
The top-level interface for all gradient builders in the package
tech.fastj.graphics.util
. - Gradients - Class in tech.fastj.graphics.gradients
-
Class to streamline working with the
GradientPaint
class (and its implementations) within FastJ. - Gradients() - Constructor for class tech.fastj.graphics.gradients.Gradients
- Greater - tech.fastj.input.keyboard.Keys
-
Constant representing the "Greater" key.
H
- H - tech.fastj.input.keyboard.Keys
-
Constant representing the "H" key.
- HalfWidth - tech.fastj.input.keyboard.Keys
-
Constant representing the "Half width" key.
- hashCode() - Method in class tech.fastj.graphics.display.Camera
- hashCode() - Method in class tech.fastj.graphics.game.GameObject
- hashCode() - Method in class tech.fastj.graphics.game.Model2D
- hashCode() - Method in class tech.fastj.graphics.game.Polygon2D
- hashCode() - Method in class tech.fastj.graphics.game.Text2D
- hashCode() - Method in class tech.fastj.math.Point
- hashCode() - Method in class tech.fastj.math.Pointf
- hashCode() - Method in class tech.fastj.math.Transform2D
- hasTag(String) - Method in class tech.fastj.systems.tags.TaggableEntity
-
Determines whether this object has the specified tag.
- Help - tech.fastj.input.keyboard.Keys
-
Constant representing the "Help" key.
- High - Static variable in class tech.fastj.graphics.display.RenderSettings.AlphaInterpolationQuality
-
Render setting that opts for quality-accurate alpha-blend rendering algorithms.
- High - Static variable in class tech.fastj.graphics.display.RenderSettings.ColorRenderingQuality
-
Render setting that opts for quality-accurate color rendering algorithms.
- High - Static variable in class tech.fastj.graphics.display.RenderSettings.GeneralRenderingQuality
-
Render setting that opts for quality-accurate rendering algorithms.
- High - Static variable in class tech.fastj.graphics.display.RenderSettings.TextLCDContrast
-
Render setting that specifies high contrast for text on LCD screens.
- Highest - tech.fastj.engine.FPSValue
-
The highest frame count recorded in a second.
- Hiragana - tech.fastj.input.keyboard.Keys
-
Constant representing the "Hiragana" key.
- Home - tech.fastj.input.keyboard.Keys
-
Constant representing the "Home" key.
- HWAccel - Enum in tech.fastj.engine
-
Enumerator defining what types of hardware acceleration are supported.
I
- I - tech.fastj.input.keyboard.Keys
-
Constant representing the "I" key.
- illegalAction(Class<?>) - Static method in enum tech.fastj.engine.CrashMessages
-
Creates a string depicting an error caused by an illegal action in the method of the specified class.
- init() - Method in class tech.fastj.engine.internals.Timer
-
Initializes the Timer.
- init() - Method in class tech.fastj.graphics.display.Display
-
Initializes the
Display
. - init() - Static method in class tech.fastj.input.keyboard.Keyboard
-
Initializes the keyboard.
- init(String, LogicManager) - Static method in class tech.fastj.engine.FastJEngine
-
Initializes the game engine with the specified title and logic manager.
- init(String, LogicManager, int, int, Point, Point, HWAccel) - Static method in class tech.fastj.engine.FastJEngine
-
Initializes the game engine with the specified title, logic manager, and other options.
- init(Display) - Method in interface tech.fastj.systems.control.LogicManager
-
Initializes the logic manager.
- init(GameObject) - Method in interface tech.fastj.systems.behaviors.Behavior
-
Initializes the assigned
GameObject
. - initBehaviorListeners() - Method in interface tech.fastj.systems.behaviors.BehaviorHandler
-
Initializes all behavior listeners in the behavior handler.
- initBehaviorListeners(BehaviorHandler) - Static method in class tech.fastj.systems.behaviors.BehaviorManager
-
Initializes the behavior listeners aliased to the specified
BehaviorHandler
. - initBehaviors() - Method in class tech.fastj.graphics.game.GameObject
-
Calls the
Behavior.init(GameObject)
method for each of theGameObject
's behaviors. - inputManager - Variable in class tech.fastj.systems.control.Scene
-
Input manager instance for the scene -- it controls the scene's received events.
- inputManager - Variable in class tech.fastj.systems.control.SimpleManager
- InputManager - Class in tech.fastj.input
-
Class to manage user input and input event processing.
- InputManager() - Constructor for class tech.fastj.input.InputManager
-
Constructs an
InputManager
, initializing its internal variables. - InputMethodOnOff - tech.fastj.input.keyboard.Keys
-
Constant representing the "Input method on off" key.
- Insert - tech.fastj.input.keyboard.Keys
-
Constant representing the "Insert" key.
- integerMagnitude() - Method in class tech.fastj.math.Point
-
Calculates and returns the
length
, ormagnitude
, of thePoint
. - integerNormalized() - Method in class tech.fastj.math.Point
-
Creates a normalized version of the
Point
using integer division. - integerRotate(Point, float, Point) - Static method in class tech.fastj.math.Point
-
Creates a rotated version of the
Pointf
based on the provided angle and center point. - integerRotate(Point, int) - Static method in class tech.fastj.math.Point
-
Creates a rotated version of the
Point
based on the provided angle. - interactsWith(Drawable, MouseAction) - Static method in class tech.fastj.input.mouse.Mouse
-
Determines whether the specified
Drawable
intersects the mouse, if the mouse is currently performing the specifiedMouseAction
. - intersects(Path2D) - Method in class tech.fastj.math.Point
-
Determines whether a specified Path2D object intersects with this
Point
object. - intersects(Path2D) - Method in class tech.fastj.math.Pointf
-
Determines whether a specified Path2D object intersects with this
Pointf
object. - intersects(Rectangle2D) - Method in class tech.fastj.math.Point
-
Determines whether a specified Rectangle2D object intersects with this
Point
object. - intersects(Rectangle2D) - Method in class tech.fastj.math.Pointf
-
Determines whether a specified Rectangle2D object intersects with this
Pointf
object. - inverseColorLerp(Color, Color, float) - Static method in class tech.fastj.graphics.util.DrawUtil
- inverseColorLerp(Color, Color, float, float, float, float) - Static method in class tech.fastj.graphics.util.DrawUtil
- inverseLerp(float, float, float) - Static method in class tech.fastj.math.Maths
-
Calculates the linear interpolation value based on the provided
f
andf1
range, and the valuev
. - inverseLerp(Pointf, Pointf, float) - Static method in class tech.fastj.math.Pointf
-
Calculates the linear interpolation values based on the provided
p
andp1
Pointf
range, and the valuev
. - inverseLerp(Pointf, Pointf, float, float) - Static method in class tech.fastj.math.Pointf
-
Calculates the linear interpolation values based on the provided
p
andp1
Pointf
range, and the valuesv1
andv2
. - InvertedExclamationMark - tech.fastj.input.keyboard.Keys
-
Constant representing the "¡" key.
- isClosed() - Method in class tech.fastj.graphics.display.Display
-
Gets the value that determines whether the
Display
is closed. - isFullscreen() - Method in class tech.fastj.graphics.display.Display
-
Gets the value that determines whether the
Display
is in full-screen mode. - isInitialized() - Method in class tech.fastj.systems.control.Scene
-
Gets the value that specifies whether the scene is initialized.
- isKeyDown(int, int) - Static method in class tech.fastj.input.keyboard.Keyboard
-
Checks if the specified key (at the specified key location) is currently pressed.
- isKeyDown(Keys) - Static method in class tech.fastj.input.keyboard.Keyboard
-
Checks if the specified key is currently pressed.
- isKeyRecentlyPressed(int, int) - Static method in class tech.fastj.input.keyboard.Keyboard
-
Checks if the specified key (at the specified key location) was recently pressed.
- isKeyRecentlyPressed(Keys) - Static method in class tech.fastj.input.keyboard.Keyboard
-
Checks if the specified key was recently pressed.
- isKeyRecentlyReleased(int, int) - Static method in class tech.fastj.input.keyboard.Keyboard
-
Checks if the specified key (at the specified key location) was recently released.
- isKeyRecentlyReleased(Keys) - Static method in class tech.fastj.input.keyboard.Keyboard
-
Checks if the specified key was recently released.
- isMouseButtonPressed(int) - Static method in class tech.fastj.input.mouse.Mouse
-
Gets the value that determines whether the specified mouse button is currently pressed.
- isMouseButtonPressed(MouseButtons) - Static method in class tech.fastj.input.mouse.Mouse
-
Gets the value that determines whether the specified mouse button is currently pressed.
- isOnScreen() - Static method in class tech.fastj.input.mouse.Mouse
-
Gets the value that determines whether the mouse is currently on the
Display
window. - isOnScreen(Drawable, Camera) - Method in class tech.fastj.graphics.display.Display
-
Gets the value that determines whether the
Drawable
is visible on screen. - isOutputSupported() - Static method in class tech.fastj.systems.audio.AudioManager
-
Checks whether the computer supports audio output.
- isReady() - Method in class tech.fastj.graphics.display.Display
-
Gets the value that determines whether the
Display
is ready to be rendered to. - isRunning() - Static method in class tech.fastj.engine.FastJEngine
-
Gets the value that defines whether the engine is running.
- isShowingFPSInTitle() - Method in class tech.fastj.graphics.display.Display
-
Gets the value that determines whether the
Display
is showing the FPS in the title bar. - isShowingTitleBar() - Method in class tech.fastj.graphics.display.Display
-
Gets the value that determines whether the
Display
is showing the title bar. - isSwitchingScenes() - Method in class tech.fastj.systems.control.SceneManager
-
Gets the boolean that specifies whether the logic manager is currently switching scenes.
- isSwitchingScreenState() - Method in class tech.fastj.graphics.display.Display
-
Gets the value that determines whether the
Display
is switching its screen state. - isWindowedFullscreen() - Method in class tech.fastj.graphics.display.Display
-
Gets the value that determines whether the
Display
is in windowed full-screen mode.
J
- J - tech.fastj.input.keyboard.Keys
-
Constant representing the "J" key.
- JapaneseHiragana - tech.fastj.input.keyboard.Keys
-
Constant representing the "Japanese hiragana" key.
- JapaneseKatakana - tech.fastj.input.keyboard.Keys
-
Constant representing the "Japanese katakana" key.
- JapaneseRoman - tech.fastj.input.keyboard.Keys
-
Constant representing the "Japanese roman" key.
K
- K - tech.fastj.input.keyboard.Keys
-
Constant representing the "K" key.
- Kana - tech.fastj.input.keyboard.Keys
-
Constant representing the "Kana" key.
- KanaLock - tech.fastj.input.keyboard.Keys
-
Constant representing the "Kana lock" key.
- Kanji - tech.fastj.input.keyboard.Keys
-
Constant representing the "Kanji" key.
- Katakana - tech.fastj.input.keyboard.Keys
-
Constant representing the "Katakana" key.
- Keyboard - Class in tech.fastj.input.keyboard
-
Class that stores key input information from the
Display
. - Keyboard() - Constructor for class tech.fastj.input.keyboard.Keyboard
- KeyboardActionListener - Interface in tech.fastj.input.keyboard
-
A keyboard action listener.
- KeyboardEvent - Interface in tech.fastj.input.keyboard
- KeyboardStateEvent - Class in tech.fastj.input.keyboard
- KeyboardTypedEvent - Class in tech.fastj.input.keyboard
- keyPressed(KeyEvent) - Method in class tech.fastj.input.keyboard.Keyboard
- keyReleased(KeyEvent) - Method in class tech.fastj.input.keyboard.Keyboard
- Keys - Enum in tech.fastj.input.keyboard
-
Based on the
KeyEvent
class, theKeys
class defines better-looking names for keyboard input keycodes. - keyTyped(KeyEvent) - Method in class tech.fastj.input.keyboard.Keyboard
- KpDown - tech.fastj.input.keyboard.Keys
-
Constant representing the "Kp down" key.
- KpLeft - tech.fastj.input.keyboard.Keys
-
Constant representing the "Kp left" key.
- KpRight - tech.fastj.input.keyboard.Keys
-
Constant representing the "Kp right" key.
- KpUp - tech.fastj.input.keyboard.Keys
-
Constant representing the "Kp up" key.
L
- L - tech.fastj.input.keyboard.Keys
-
Constant representing the "L" key.
- LcdHbgr - Static variable in class tech.fastj.graphics.display.RenderSettings.TextAntialiasing
-
Render setting that enables anti-aliasing with LCD HBGR optimization.
- LcdHrgb - Static variable in class tech.fastj.graphics.display.RenderSettings.TextAntialiasing
-
Render setting that enables anti-aliasing with LCD HRGB optimization.
- LcdVbgr - Static variable in class tech.fastj.graphics.display.RenderSettings.TextAntialiasing
-
Render setting that enables anti-aliasing with LCD VBGR optimization.
- LcdVrgb - Static variable in class tech.fastj.graphics.display.RenderSettings.TextAntialiasing
-
Render setting that enables anti-aliasing with LCD VRGB optimization.
- Left - tech.fastj.input.keyboard.Keys
-
Constant representing the "Left" key.
- Left - tech.fastj.input.mouse.MouseButtons
-
Enum value for the left mouse button.
- LeftAlt - tech.fastj.input.keyboard.Keys
-
Constant representing the "Left Alt" key.
- LeftBracket - tech.fastj.input.keyboard.Keys
-
Constant representing the "Left bracket" key.
- LeftControl - tech.fastj.input.keyboard.Keys
-
Constant representing the "Left Control" key.
- LeftParenthesis - tech.fastj.input.keyboard.Keys
-
Constant representing the "(" key.
- LeftShift - tech.fastj.input.keyboard.Keys
-
Constant representing the "Left Shift" key.
- lengthOfPath(Path2D) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Gets the amount of points in the specified
Path2D
. - lerp(float, float, float) - Static method in class tech.fastj.math.Maths
-
Linearly interpolates between
f
andf1
, by the interpolation pointt
. - lerp(Pointf, Pointf, float) - Static method in class tech.fastj.math.Pointf
- lerp(Pointf, Pointf, float, float) - Static method in class tech.fastj.math.Pointf
- Less - tech.fastj.input.keyboard.Keys
-
Constant representing the "Less" key.
- linearGradient(Drawable, Boundary, Boundary) - Static method in class tech.fastj.graphics.gradients.Gradients
-
Gets a builder instance for creating a
LinearGradientPaint
. - linearGradient(Pointf, Pointf) - Static method in class tech.fastj.graphics.gradients.Gradients
-
Gets a builder instance for creating a
LinearGradientPaint
. - LinearGradientBuilder - Class in tech.fastj.graphics.gradients
-
A builder class for creating
LinearGradientPaint
objects. - load(Display) - Method in class tech.fastj.systems.control.Scene
-
Loads the scene into an initialized state.
- loadCurrentScene() - Method in class tech.fastj.systems.control.SceneManager
-
Loads the current scene, if it's not already initialized.
- loadMemoryAudio(Path) - Static method in class tech.fastj.systems.audio.AudioManager
-
Loads a
MemoryAudio
object at the specified path into memory. - loadMemoryAudio(Path...) - Static method in class tech.fastj.systems.audio.AudioManager
-
Loads all
MemoryAudio
objects at the specified paths into memory. - loadModel(Path) - Static method in class tech.fastj.graphics.util.ModelUtil
-
Gets a
Polygon2D
array, loaded from a.psdf
file. - loadStreamedAudio(Path) - Static method in class tech.fastj.systems.audio.AudioManager
-
Loads a
StreamedAudio
object at the specified path into memory. - loadStreamedAudio(Path...) - Static method in class tech.fastj.systems.audio.AudioManager
-
Loads all
StreamedAudio
objects at the specified paths into memory. - location - Variable in enum tech.fastj.graphics.Boundary
-
The array index corresponding to the enum constant.
- log(T) - Static method in class tech.fastj.engine.FastJEngine
-
Logs the specified message, using
System.out.println
. - LogicManager - Interface in tech.fastj.systems.control
-
The basis of game management in any game made with FastJ.
- LoopAtEnd - Static variable in class tech.fastj.systems.audio.MemoryAudio
-
Signifies that the audio should loop back once it reaches the end of the audio track.
- LoopFromStart - Static variable in class tech.fastj.systems.audio.MemoryAudio
-
Signifies that the audio should start its loop from the beginning of the audio track.
- Low - Static variable in class tech.fastj.graphics.display.RenderSettings.AlphaInterpolationQuality
-
Render setting that opts for fast alpha-blend rendering algorithms.
- Low - Static variable in class tech.fastj.graphics.display.RenderSettings.ColorRenderingQuality
-
Render setting that opts for fast color rendering algorithms.
- Low - Static variable in class tech.fastj.graphics.display.RenderSettings.GeneralRenderingQuality
-
Render setting that opts for fast rendering algorithms.
- Low - Static variable in class tech.fastj.graphics.display.RenderSettings.TextLCDContrast
-
Render setting that specifies low contrast for text on LCD screens.
- Lowest - tech.fastj.engine.FPSValue
-
The lowest frame count recorded in a second.
M
- M - tech.fastj.input.keyboard.Keys
-
Constant representing the "M" key.
- magnitude() - Method in class tech.fastj.math.Point
-
Calculates and returns the
length
, ormagnitude
, of thePoint
. - magnitude() - Method in class tech.fastj.math.Pointf
-
Calculates and returns the
length
, ormagnitude
, of thePointf
. - magnitude(float, float) - Static method in class tech.fastj.math.Maths
-
Finds the magnitude of the specified
x
andy
values. - Maths - Class in tech.fastj.math
-
Secondary mathematics class to provide useful utility methods dealing primarily with
float
s. - Maximum - Static variable in class tech.fastj.graphics.display.RenderSettings.TextLCDContrast
-
Render setting that specifies the maximum possible contrast for text on LCD screens.
- MaximumColorCount - Static variable in class tech.fastj.graphics.gradients.Gradients
-
The maximum amount of colors allowed in a single
LinearGradientBuilder
orRadialGradientBuilder
. - Medium - Static variable in class tech.fastj.graphics.display.RenderSettings.TextLCDContrast
-
Render setting that specifies medium contrast for text on LCD screens.
- MemoryAudio - Class in tech.fastj.systems.audio
-
An audio object used for sound playback.
- MemoryAudioPlayer - Class in tech.fastj.systems.audio
-
Class for playing
memory audio
. - MemoryAudioPlayer() - Constructor for class tech.fastj.systems.audio.MemoryAudioPlayer
- MeshPoint - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- Meta - tech.fastj.input.keyboard.Keys
-
Constant representing the "Meta" key.
- Middle - tech.fastj.input.mouse.MouseButtons
-
Enum value for the middle mouse button.
- Minimum - Static variable in class tech.fastj.graphics.display.RenderSettings.TextLCDContrast
-
Render setting that specifies the minimum possible contrast for text on LCD screens.
- MinimumColorCount - Static variable in class tech.fastj.graphics.gradients.Gradients
-
The minimum amount of colors allowed in a single
LinearGradientBuilder
orRadialGradientBuilder
. - MinimumRadius - Static variable in class tech.fastj.graphics.gradients.Gradients
-
The minimum radius allowed in a single
RadialGradientBuilder
, including the value of this constant. - Minus - tech.fastj.input.keyboard.Keys
-
Constant representing the "Minus" key.
- ModeChange - tech.fastj.input.keyboard.Keys
-
Constant representing the "Mode change" key.
- Model2D - Class in tech.fastj.graphics.game
-
Drawable
subclass for grouping an array ofPolygon2D
s under a single object. - Model2D(Polygon2D[]) - Constructor for class tech.fastj.graphics.game.Model2D
-
Model2D constructor that takes in an array of
Polygon2D
objects. - Model2DBuilder - Class in tech.fastj.graphics.game
-
A builder class for creating
Model2D
objects. - ModelUtil - Class in tech.fastj.graphics.util
- modifyPoints(Pointf[], boolean, boolean, boolean) - Method in class tech.fastj.graphics.game.Polygon2D
-
Replaces the current point array with the parameter point array.
- modifyRenderSettings(RenderingHints.Key, Object) - Method in class tech.fastj.graphics.display.Display
-
Changes the rendering settings for the specified key.
- modifyRenderSettings(RenderSettings) - Method in class tech.fastj.graphics.display.Display
-
Changes the global rendering settings based on the provided option.
- Mouse - Class in tech.fastj.input.mouse
-
Mouse class that takes mouse input from the
Display
, and uses it to store variables about the mouse's current state. - Mouse() - Constructor for class tech.fastj.input.mouse.Mouse
- MouseAction - Enum in tech.fastj.input.mouse
-
Enum defining the different types of mouse actions.
- MouseActionListener - Interface in tech.fastj.input.mouse
-
A mouse action listener.
- MouseButtons - Enum in tech.fastj.input.mouse
-
Convenience enum defining common mouse button values.
- mouseClicked(MouseEvent) - Method in class tech.fastj.input.mouse.Mouse
- mouseDragged(MouseEvent) - Method in class tech.fastj.input.mouse.Mouse
- mouseEntered(MouseEvent) - Method in class tech.fastj.input.mouse.Mouse
- mouseExited(MouseEvent) - Method in class tech.fastj.input.mouse.Mouse
- mouseMoved(MouseEvent) - Method in class tech.fastj.input.mouse.Mouse
- mousePressed(MouseEvent) - Method in class tech.fastj.input.mouse.Mouse
- mouseReleased(MouseEvent) - Method in class tech.fastj.input.mouse.Mouse
- mouseWheelMoved(MouseWheelEvent) - Method in class tech.fastj.input.mouse.Mouse
- Move - tech.fastj.input.mouse.MouseAction
-
Mouse action where the mouse was moved.
- multiply(float) - Method in class tech.fastj.math.Pointf
-
Multiplies the values of this
Pointf
by the specified float value, and returns a newPointf
with the modified values. - multiply(int) - Method in class tech.fastj.math.Point
-
Multiplies the values of this
Point
by the specified integer value, and returns a newPoint
with the modified values. - multiply(Point) - Method in class tech.fastj.math.Point
-
Multiplies the values of this
Point
by the specifiedPoint
, and returns a newPoint
with the modified values. - multiply(Pointf) - Method in class tech.fastj.math.Pointf
-
Multiplies the values of this
Pointf
by the specifiedPointf
, and returns a newPointf
with the modified values. - multiply(Pointf, float) - Static method in class tech.fastj.math.Pointf
-
Static method to multiply a
Pointf
object by a float value, and return a newPointf
. - multiply(Pointf, Pointf) - Static method in class tech.fastj.math.Pointf
-
Static method to multiply two
Pointf
objects (from the parameters specified) together, and return a newPointf
. - multiply(Point, int) - Static method in class tech.fastj.math.Point
-
Static method to multiply a
Point
object by an integer value, and return a newPoint
. - multiply(Point, Point) - Static method in class tech.fastj.math.Point
-
Static method to multiply two
Point
objects (from the parameters specified) together, and return a newPoint
. - Multiply - tech.fastj.input.keyboard.Keys
-
Constant representing the "Multiply" key.
- muteControl() - Method in class tech.fastj.systems.audio.StreamedAudio
-
Gets the audio's mute control.
N
- N - tech.fastj.input.keyboard.Keys
-
Constant representing the "N" key.
- NearestNeighbor - Static variable in class tech.fastj.graphics.display.RenderSettings.ImageInterpolation
-
Render setting that sets image interpolation as nearest-neighbor.
- Nine - tech.fastj.input.keyboard.Keys
-
Constant representing the "9" key.
- NonConvert - tech.fastj.input.keyboard.Keys
-
Constant representing the "Non-convert" key.
- normalize(float, float, float) - Static method in class tech.fastj.math.Maths
-
Scales the provided number
num
on a scale of0.0
to1.0
based on the providedminimum
andmaximum
values. - Normalize - Static variable in class tech.fastj.graphics.display.RenderSettings.OutlineRenderingStyle
-
Render setting that normalizes polygon outlines when rendering to improve rendering uniformity.
- normalized() - Method in class tech.fastj.math.Point
-
Creates a normalized version of the
Point
, as aPointf
, using floating-point division. - normalized() - Method in class tech.fastj.math.Pointf
-
Creates a normalized version of the
Pointf
. - NumberSign - tech.fastj.input.keyboard.Keys
-
Constant representing the "# (aka hashtag, pound symbol)" key.
- NumLock - tech.fastj.input.keyboard.Keys
-
Constant representing the "Num lock" key.
- Numpad0 - tech.fastj.input.keyboard.Keys
-
Constant representing the "NUMPAD" key.
- Numpad1 - tech.fastj.input.keyboard.Keys
-
Constant representing the "NUMPAD" key.
- Numpad2 - tech.fastj.input.keyboard.Keys
-
Constant representing the "NUMPAD" key.
- Numpad3 - tech.fastj.input.keyboard.Keys
-
Constant representing the "NUMPAD" key.
- Numpad4 - tech.fastj.input.keyboard.Keys
-
Constant representing the "NUMPAD" key.
- Numpad5 - tech.fastj.input.keyboard.Keys
-
Constant representing the "NUMPAD" key.
- Numpad6 - tech.fastj.input.keyboard.Keys
-
Constant representing the "NUMPAD" key.
- Numpad7 - tech.fastj.input.keyboard.Keys
-
Constant representing the "NUMPAD" key.
- Numpad8 - tech.fastj.input.keyboard.Keys
-
Constant representing the "NUMPAD" key.
- Numpad9 - tech.fastj.input.keyboard.Keys
-
Constant representing the "NUMPAD" key.
O
- O - tech.fastj.input.keyboard.Keys
-
Constant representing the "O" key.
- One - tech.fastj.input.keyboard.Keys
-
Constant representing the "1" key.
- OnePercentLow - tech.fastj.engine.FPSValue
-
The average of the lowest 1% recorded frame count.
- onKeyDown() - Method in interface tech.fastj.input.keyboard.KeyboardActionListener
-
Event called when a key is currently pressed, once per game update.
- onKeyRecentlyPressed(KeyboardStateEvent) - Method in interface tech.fastj.input.keyboard.KeyboardActionListener
-
Event called when a key was recently pressed.
- onKeyReleased(KeyboardStateEvent) - Method in interface tech.fastj.input.keyboard.KeyboardActionListener
-
Event called when a key was recently released.
- onKeyTyped(KeyboardTypedEvent) - Method in interface tech.fastj.input.keyboard.KeyboardActionListener
-
Event called when a key was recently typed.
- onMouseClicked(MouseEvent) - Method in interface tech.fastj.input.mouse.MouseActionListener
-
Event called when a mouse button is clicked.
- onMouseDragged(MouseEvent) - Method in interface tech.fastj.input.mouse.MouseActionListener
-
Event called when the mouse is dragged.
- onMouseEntersScreen(MouseEvent) - Method in interface tech.fastj.input.mouse.MouseActionListener
-
Event called when the mouse enters the application screen.
- onMouseExitsScreen(MouseEvent) - Method in interface tech.fastj.input.mouse.MouseActionListener
-
Event called when the mouse exits the application screen.
- onMouseMoved(MouseEvent) - Method in interface tech.fastj.input.mouse.MouseActionListener
-
Event called when the mouse is moved.
- onMousePressed(MouseEvent) - Method in class tech.fastj.graphics.ui.UIElement
-
Fires the ui element's
onAction
event(s), if its condition is met. - onMousePressed(MouseEvent) - Method in interface tech.fastj.input.mouse.MouseActionListener
-
Event called when a mouse button is pressed.
- onMouseReleased(MouseEvent) - Method in interface tech.fastj.input.mouse.MouseActionListener
-
Event called when a mouse button is released.
- onMouseWheelScrolled(MouseEvent) - Method in interface tech.fastj.input.mouse.MouseActionListener
-
Event called when the mouse wheel is scrolled.
- open() - Method in class tech.fastj.graphics.display.Display
-
Displays the
Display
. - OpenBracket - tech.fastj.input.keyboard.Keys
-
Constant representing the "Open bracket" key.
- OpenGL - tech.fastj.engine.HWAccel
-
Enables OpenGL hardware acceleration.
- Origin - Static variable in class tech.fastj.math.Point
-
Point
representing the origin as anint
:(0, 0)
. - Origin - Static variable in class tech.fastj.math.Pointf
-
Pointf
representing the origin as afloat
:(0f, 0f)
. - Outline - tech.fastj.graphics.game.RenderStyle
- OutlineColor - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- OutlineStroke - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
P
- P - tech.fastj.input.keyboard.Keys
-
Constant representing the "P" key.
- PageDown - tech.fastj.input.keyboard.Keys
-
Constant representing the "Page down" key.
- PageUp - tech.fastj.input.keyboard.Keys
-
Constant representing the "Page up" key.
- paintEquals(Paint, Paint) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Checks for equality between two
Paint
objects as best as possible. - panControl() - Method in class tech.fastj.systems.audio.StreamedAudio
-
Gets the audio's pan control.
- parse(List<String>) - Static method in class tech.fastj.graphics.io.PsdfUtil
-
Parses the specified file contents into a
Polygon2D
array. - Paste - tech.fastj.input.keyboard.Keys
-
Constant representing the "Paste" key.
- pathEquals(Path2D, Path2D) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Checks for equality in length and point values between two
Path2D
objects. - pause() - Method in interface tech.fastj.systems.audio.Audio
-
Pauses audio playback, if it was playing.
- pause() - Method in class tech.fastj.systems.audio.MemoryAudio
-
Pauses audio playback, if it was playing.
- pause() - Method in class tech.fastj.systems.audio.StreamedAudio
- Pause - tech.fastj.input.keyboard.Keys
-
Constant representing the "Pause" key.
- Paused - tech.fastj.systems.audio.state.PlaybackState
-
Audio
state when the audio is held from emitting sound, but still ready to resume playing. - percentage(float) - Static method in class tech.fastj.graphics.display.RenderSettings.TextLCDContrast
-
Generates a custom percentage of contrast to use as a rendering option.
- Period - tech.fastj.input.keyboard.Keys
-
Constant representing the "Period" key.
- play() - Method in interface tech.fastj.systems.audio.Audio
-
Starts playing audio's sound, if it was not previously playing.
- play() - Method in class tech.fastj.systems.audio.MemoryAudio
-
Starts playing audio's sound, if it was not previously playing.
- play() - Method in class tech.fastj.systems.audio.StreamedAudio
- PlaybackState - Enum in tech.fastj.systems.audio.state
-
Enum containing the different states an
Audio
instance can be in. - Playing - tech.fastj.systems.audio.state.PlaybackState
-
Audio
state when the audio is emitting sound. - playSound(Path) - Static method in class tech.fastj.systems.audio.AudioManager
-
Plays the sound file at the specified
Path
. - Plus - tech.fastj.input.keyboard.Keys
-
Constant representing the "+" key.
- Point - Class in tech.fastj.math
-
Class that defines a point in 2D space, using integers.
- Point() - Constructor for class tech.fastj.math.Point
-
Point
constructor, where its x and y values are set to zero. - Point(int) - Constructor for class tech.fastj.math.Point
-
Point
constructor, where the values for the newly createdPoint
are set to the integer parameter's values. - Point(int, int) - Constructor for class tech.fastj.math.Point
-
Point
constructor, where the values for the newly createdPoint
are set to the specified x and y parameters. - Point(Point) - Constructor for class tech.fastj.math.Point
-
Point
constructor, where the values for the newly createdPoint
are set to the parameterPoint
's values. - Pointf - Class in tech.fastj.math
-
Class that defines a point in 2D space, using floats.
- Pointf() - Constructor for class tech.fastj.math.Pointf
-
Pointf
constructor, where its x and y values are set to zero. - Pointf(float) - Constructor for class tech.fastj.math.Pointf
-
Pointf
constructor, where the values for the newly createdPointf
are set to the float parameter's values. - Pointf(float, float) - Constructor for class tech.fastj.math.Pointf
-
Pointf
constructor, where the values for the newly createdPointf
are set to the specified x and y parameters. - Pointf(Point) - Constructor for class tech.fastj.math.Pointf
-
Pointf
constructor, where the values for the newly createdPointf
are set to the parameterPoint
's values. - Pointf(Pointf) - Constructor for class tech.fastj.math.Pointf
-
Pointf
constructor, where the values for the newly createdPointf
are set to the parameterPointf
's values. - pointsOfPath(Path2D.Float) - Static method in class tech.fastj.graphics.util.DrawUtil
-
Gets a
Pointf
array that represents the points of thePath2D.Float
parameter. - Polygon2D - Class in tech.fastj.graphics.game
-
Drawable
subclass for drawing a polygon. - Polygon2D(Pointf[]) - Constructor for class tech.fastj.graphics.game.Polygon2D
-
Polygon2D
constructor that takes in an array of points. - Polygon2DBuilder - Class in tech.fastj.graphics.game
-
A builder class for creating
Polygon2D
objects. - Press - tech.fastj.input.mouse.MouseAction
-
Mouse action where a mouse button was pressed.
- PreviousCandidate - tech.fastj.input.keyboard.Keys
-
Constant representing the "Previous candidate" key.
- PrintScreen - tech.fastj.input.keyboard.Keys
-
Constant representing the "Print screen" key.
- processEvent(InputManager, KeyEvent) - Static method in class tech.fastj.input.keyboard.Keyboard
-
Processes the specified key event for the specified input manager, based on its event type.
- processEvent(InputManager, MouseEvent) - Static method in class tech.fastj.input.mouse.Mouse
-
Processes the specified mouse event for the specified input manager, based on its event type.
- processEvents() - Method in class tech.fastj.input.InputManager
-
Processes all events in the event list, then clears them from the list.
- processInputEvents() - Method in interface tech.fastj.systems.control.LogicManager
-
Allows the logic manager to process all pending input events.
- processInputEvents() - Method in class tech.fastj.systems.control.SceneManager
-
Processes all pending input events.
- processInputEvents() - Method in class tech.fastj.systems.control.SimpleManager
-
Processes all stored input events.
- Props - tech.fastj.input.keyboard.Keys
-
Constant representing the "Props" key.
- Psdf - Static variable in class tech.fastj.graphics.io.SupportedFileFormats
- PsdfUtil - Class in tech.fastj.graphics.io
- PsdfUtil.ParsingKeys - Class in tech.fastj.graphics.io
-
Keys for parsing .psdf files.
Q
- Q - tech.fastj.input.keyboard.Keys
-
Constant representing the "Q" key.
- Quote - tech.fastj.input.keyboard.Keys
-
Constant representing the "Quote" key.
- Quotedbl - tech.fastj.input.keyboard.Keys
-
Constant representing the "Quotedbl" key.
R
- R - tech.fastj.input.keyboard.Keys
-
Constant representing the "R" key.
- radialGradient(Drawable) - Static method in class tech.fastj.graphics.gradients.Gradients
-
Gets a builder instance for creating a
RadialGradientPaint
. - radialGradient(Pointf, float) - Static method in class tech.fastj.graphics.gradients.Gradients
-
Gets a builder instance for creating a
RadialGradientPaint
. - RadialGradientBuilder - Class in tech.fastj.graphics.gradients
-
A builder class for creating
RadialGradientPaint
objects. - random(float, float) - Static method in class tech.fastj.math.Maths
-
Generates a random float number within the specified min and max limits.
- randomAtEdge(float, float) - Static method in class tech.fastj.math.Maths
-
Generates a random number within the specified range, then snaps it to the edge it is closest to.
- randomBoolean() - Static method in class tech.fastj.math.Maths
-
Generates a random boolean value.
- randomColor() - Static method in class tech.fastj.graphics.util.DrawUtil
-
Generates a random
Color
, while leaving the alpha to its default value (255). - randomColorWithAlpha() - Static method in class tech.fastj.graphics.util.DrawUtil
-
Generates a random
Color
, including the alpha level of the color. - randomFont() - Static method in class tech.fastj.graphics.util.DrawUtil
-
Generates a random
Font
using the available fonts on the system, with a font size within the range of1-256
, inclusive. - randomInteger(int, int) - Static method in class tech.fastj.math.Maths
-
Generates a random integer number within the specified min and max limits.
- randomLinearGradient(Drawable, Boundary, Boundary) - Static method in class tech.fastj.graphics.gradients.Gradients
-
Generates a random linear gradient from the specified
drawable
andstart
/end
values, with random colors. - randomLinearGradient(Pointf, Pointf) - Static method in class tech.fastj.graphics.gradients.Gradients
-
Generates a random linear gradient from the specified
start
/end
values, with random colors. - randomLinearGradientWithAlpha(Drawable, Boundary, Boundary) - Static method in class tech.fastj.graphics.gradients.Gradients
-
Generates a random linear gradient from the specified
drawable
andstart
/end
values, with random colors including random alpha values. - randomLinearGradientWithAlpha(Pointf, Pointf) - Static method in class tech.fastj.graphics.gradients.Gradients
-
Generates a random linear gradient from the specified
start
/end
values, with random colors including random alpha values. - randomOutlineStroke() - Static method in class tech.fastj.graphics.util.DrawUtil
- randomRadialGradient(Drawable) - Static method in class tech.fastj.graphics.gradients.Gradients
-
Generates a random radial gradient from the specified
drawable
, with random colors. - randomRadialGradient(Pointf, float) - Static method in class tech.fastj.graphics.gradients.Gradients
-
Generates a random radial gradient from the specified
center
andradius
values, with random colors. - randomRadialGradientWithAlpha(Drawable) - Static method in class tech.fastj.graphics.gradients.Gradients
-
Generates a random radial gradient from the specified
drawable
, with random colors including random alpha values. - randomRadialGradientWithAlpha(Pointf, float) - Static method in class tech.fastj.graphics.gradients.Gradients
-
Generates a random radial gradient from the specified
center
andradius
values, with random colors including random alpha values. - receivedInputEvent(InputEvent) - Method in class tech.fastj.input.InputManager
-
Stores the specified input in the event list to be processed later.
- receivedInputEvent(InputEvent) - Method in interface tech.fastj.systems.control.LogicManager
-
Allows the logic manager to take in an input event.
- receivedInputEvent(InputEvent) - Method in class tech.fastj.systems.control.SceneManager
- receivedInputEvent(InputEvent) - Method in class tech.fastj.systems.control.SimpleManager
-
Stores the specified input event to be processed later (
SimpleManager.processInputEvents()
). - refreshGameObjectList() - Method in class tech.fastj.systems.control.DrawableManager
-
Removes any null values from the list of game objects for the manager.
- refreshUIElementList() - Method in class tech.fastj.systems.control.DrawableManager
-
Removes any null values from the list of ui elements for the manager.
- Release - tech.fastj.input.mouse.MouseAction
-
Mouse action where a mouse button, originally pressed, was released.
- removeBehavior(Behavior, BehaviorHandler) - Method in class tech.fastj.graphics.game.GameObject
- removeBehaviorListener(GameObject) - Method in interface tech.fastj.systems.behaviors.BehaviorHandler
-
Removes the specified behavior listener from the behavior handler.
- removeGameObject(String) - Method in class tech.fastj.systems.control.DrawableManager
-
Removes the game object with the specified ID.
- removeGameObject(GameObject) - Method in class tech.fastj.systems.control.DrawableManager
-
Removes the specified game object.
- removeKeyboardActionListener(KeyboardActionListener) - Method in class tech.fastj.input.InputManager
-
Removes the specified
KeyboardActionListener
. - removeListener(BehaviorHandler, GameObject) - Static method in class tech.fastj.systems.behaviors.BehaviorManager
-
Removes the specified behavior from the list aliased to the specified
BehaviorHandler
. - removeListenerList(BehaviorHandler) - Static method in class tech.fastj.systems.behaviors.BehaviorManager
-
Removes the list aliased to the specified
BehaviorHandler
, and all elements inside. - removeMouseActionListener(MouseActionListener) - Method in class tech.fastj.input.InputManager
-
Removes the specified
MouseActionListener
. - removeScene(String) - Method in class tech.fastj.systems.control.SceneManager
-
Removes a scene from the logic manager, based on the specified scene name.
- removeScene(Scene) - Method in class tech.fastj.systems.control.SceneManager
-
Removes the specified scene from the logic manager.
- removeTag(String, Scene) - Method in class tech.fastj.systems.tags.TaggableEntity
-
Removes the specified tag from the object's list of tags.
- removeTaggableEntity(Drawable) - Method in interface tech.fastj.systems.tags.TagHandler
-
Removes the specified taggable entity.
- removeTaggableEntity(TagHandler, Drawable) - Static method in class tech.fastj.systems.tags.TagManager
-
Removes the specified taggable entity from the list of taggable entities for the specified tag handler.
- removeTaggableEntityList(TagHandler) - Static method in class tech.fastj.systems.tags.TagManager
-
Removes the list of taggable entities aliased to the specified
TagHandler
. - removeUIElement(String) - Method in class tech.fastj.systems.control.DrawableManager
-
Removes the ui element with the specified ID.
- removeUIElement(UIElement) - Method in class tech.fastj.systems.control.DrawableManager
-
Removes the specified ui element.
- render(Graphics2D) - Method in class tech.fastj.graphics.game.GameObject
-
Renders the
GameObject
to the specifiedGraphics2D
parameter. - render(Graphics2D) - Method in class tech.fastj.graphics.game.Model2D
- render(Graphics2D) - Method in class tech.fastj.graphics.game.Polygon2D
- render(Graphics2D) - Method in class tech.fastj.graphics.game.Text2D
- render(Map<String, GameObject>, Map<String, UIElement>, Camera) - Method in class tech.fastj.graphics.display.Display
-
Renders the specified game objects and GUI objects, within the viewing area of the Camera.
- render(Display) - Method in interface tech.fastj.systems.control.LogicManager
-
Allows the logic manager to render irs game's current state to the screen.
- render(Display) - Method in class tech.fastj.systems.control.SceneManager
-
Renders the current scene to the
Display
. - render(Display) - Method in class tech.fastj.systems.control.SimpleManager
-
Renders the contents of the manager's
DrawableManager
to theDisplay
. - renderAsGUIObject(Graphics2D, Camera) - Method in class tech.fastj.graphics.ui.elements.Button
- renderAsGUIObject(Graphics2D, Camera) - Method in class tech.fastj.graphics.ui.UIElement
-
Renders the
UIElement
to the parameterGraphics2D
object, aligning with the window by rendering at the inverse translation of the specifiedCamera
. - RenderError - tech.fastj.engine.CrashMessages
-
"The game crashed, due to a rendering error."
- RenderSettings - Class in tech.fastj.graphics.display
-
Based on the
RenderingHints
class, theRenderSettings
class provides a simple way to set rendering options usingDisplay.modifyRenderSettings(RenderSettings)
. - RenderSettings.AlphaInterpolationQuality - Class in tech.fastj.graphics.display
-
Render settings that change alpha interpolation quality.
- RenderSettings.Antialiasing - Class in tech.fastj.graphics.display
-
Render settings to enable/disable anti-aliasing.
- RenderSettings.ColorRenderingQuality - Class in tech.fastj.graphics.display
-
Render settings to change color rendering quality.
- RenderSettings.Dithering - Class in tech.fastj.graphics.display
-
Render settings that enable/disable dithering when rendering polygons.
- RenderSettings.GeneralRenderingQuality - Class in tech.fastj.graphics.display
-
Render settings to change general rendering quality.
- RenderSettings.ImageInterpolation - Class in tech.fastj.graphics.display
-
Render settings that change the image interpolation algorithm.
- RenderSettings.ImageVariantResolution - Class in tech.fastj.graphics.display
-
Render settings that change how images are picked based on resolution.
- RenderSettings.OutlineRenderingStyle - Class in tech.fastj.graphics.display
-
Render settings that change how polygon outlines are rendered.
- RenderSettings.SubpixelTextRendering - Class in tech.fastj.graphics.display
-
Render settings that enable/disable subpixel text rendering.
- RenderSettings.TextAntialiasing - Class in tech.fastj.graphics.display
-
Render settings to enable/disable text anti-aliasing, as well as specific optimizations for LCD screens.
- RenderSettings.TextLCDContrast - Class in tech.fastj.graphics.display
-
Render settings that change the contrast level of text on LCD screens.
- RenderStyle - Enum in tech.fastj.graphics.game
- RenderStyle - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- RenderStyleFill - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- RenderStyleFillAndOutline - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- RenderStyleOutline - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- reset() - Method in class tech.fastj.graphics.display.Camera
-
Resets the camera's transformation to the default.
- reset() - Static method in class tech.fastj.input.keyboard.Keyboard
-
Clears all key input from the keyboard.
- reset() - Static method in class tech.fastj.input.mouse.Mouse
-
Resets the
Mouse
. - reset() - Method in class tech.fastj.math.Point
-
Resets this
Point
's values to zero. - reset() - Method in class tech.fastj.math.Pointf
-
Resets this
Pointf
's x and y values to zero. - reset() - Method in class tech.fastj.math.Transform2D
- reset() - Static method in class tech.fastj.systems.audio.AudioManager
-
Resets the
AudioManager
, removing all of its loaded audio files. - reset() - Static method in class tech.fastj.systems.audio.StreamedAudioPlayer
-
Resets the
StreamedAudioPlayer
, removing all of its loaded audio files. - reset() - Static method in class tech.fastj.systems.behaviors.BehaviorManager
-
Resets the behavior manager entirely.
- reset() - Method in interface tech.fastj.systems.control.LogicManager
-
Resets the logic manager entirely.
- reset() - Method in class tech.fastj.systems.control.Scene
-
Resets the scene's state entirely.
- reset() - Method in class tech.fastj.systems.control.SceneManager
-
Resets the logic manager.
- reset() - Method in class tech.fastj.systems.control.SimpleManager
- reset() - Static method in class tech.fastj.systems.tags.TagManager
-
Wipes the
TagManager
of all aliases and tags. - resetRotation() - Method in class tech.fastj.math.Transform2D
- resetScale() - Method in class tech.fastj.math.Transform2D
- resetTranslation() - Method in class tech.fastj.math.Transform2D
- resizeDisplay(Point) - Method in class tech.fastj.graphics.display.Display
-
Resizes the
Display
to the specified size. - resume() - Method in interface tech.fastj.systems.audio.Audio
-
Resumes audio playback, if it was paused.
- resume() - Method in class tech.fastj.systems.audio.MemoryAudio
-
Resumes audio playback, if it was paused.
- resume() - Method in class tech.fastj.systems.audio.StreamedAudio
- rewindToBeginning() - Method in class tech.fastj.systems.audio.MemoryAudio
-
Rewinds the clip to the beginning.
- Right - tech.fastj.input.keyboard.Keys
-
Constant representing the "Right" key.
- Right - tech.fastj.input.mouse.MouseButtons
-
Enum value for the right mouse button.
- RightAlt - tech.fastj.input.keyboard.Keys
-
Constant representing the "Right Alt" key.
- RightBracket - tech.fastj.input.keyboard.Keys
-
Constant representing the "Right bracket" key.
- RightControl - tech.fastj.input.keyboard.Keys
-
Constant representing the "Right Control" key.
- RightParenthesis - tech.fastj.input.keyboard.Keys
-
Constant representing the ")" key.
- RightShift - tech.fastj.input.keyboard.Keys
-
Constant representing the "Right Shift" key.
- RomanCharacters - tech.fastj.input.keyboard.Keys
-
Constant representing the "Roman characters" key.
- rotate(float) - Method in class tech.fastj.graphics.display.Camera
-
Rotates the
Camera
in the direction of the specified rotation, about its center. - rotate(float) - Method in class tech.fastj.graphics.Drawable
-
Rotates the
Drawable
in the direction of the specified rotation, about its center. - rotate(float) - Method in class tech.fastj.math.Pointf
-
Rotates the
Pointf
based on the provided angle. - rotate(float, Point) - Method in class tech.fastj.math.Point
-
Rotates the
Point
based on the provided angle and center point. - rotate(float, Pointf) - Method in class tech.fastj.graphics.display.Camera
-
Rotates the
Camera
in the direction of the specified rotation, about the specified centerpoint. - rotate(float, Pointf) - Method in class tech.fastj.graphics.Drawable
-
Rotates the
Drawable
in the direction of the specified rotation, about the specified center point. - rotate(float, Pointf) - Method in class tech.fastj.math.Pointf
-
Rotates the
Pointf
based on the provided angle and center point. - rotate(float, Pointf) - Method in class tech.fastj.math.Transform2D
- rotate(int) - Method in class tech.fastj.math.Point
-
Rotates the
Point
based on the provided angle. - rotate(Pointf, float) - Static method in class tech.fastj.math.Pointf
-
Creates a rotated version of the
Pointf
based on the provided angle. - rotate(Pointf, float, Pointf) - Static method in class tech.fastj.math.Pointf
-
Creates a rotated version of the
Pointf
based on the provided angle and center point. - rotate(Point, float) - Static method in class tech.fastj.math.Point
-
Creates a rotated version of the
Point
based on the provided angle. - rotate(Point, float, Pointf) - Static method in class tech.fastj.math.Point
-
Creates a rotated version of the
Pointf
based on the provided angle and center point. - run() - Static method in class tech.fastj.engine.FastJEngine
-
Runs the game.
- runAfterRender(Runnable) - Static method in class tech.fastj.engine.FastJEngine
-
Runs the specified action after the game engine's next
render
call. - runAfterUpdate(Runnable) - Static method in class tech.fastj.engine.FastJEngine
-
Runs the specified action after the game engine's next
fixedUpdate
call. - runningCheck() - Static method in class tech.fastj.engine.FastJEngine
-
Checks if the engine is currently running -- if it is, crash the game.
S
- S - tech.fastj.input.keyboard.Keys
-
Constant representing the "S" key.
- scale(float) - Method in class tech.fastj.graphics.display.Camera
-
Scales the
Camera
in by the amount specified in the specified scale, about its center. - scale(float) - Method in class tech.fastj.graphics.Drawable
-
Scales the
Drawable
in by the amount specified in the specified scale, about its center. - scale(Pointf) - Method in class tech.fastj.graphics.display.Camera
-
Scales the
Camera
in by the amount specified in the specified scale, about its center. - scale(Pointf) - Method in class tech.fastj.graphics.Drawable
-
Scales the
Drawable
in by the amount specified in the specified scale, about its center. - scale(Pointf, Pointf) - Method in class tech.fastj.graphics.display.Camera
-
Scales the
Camera
in by the amount specified in the specified scale, from the specified centerpoint. - scale(Pointf, Pointf) - Method in class tech.fastj.graphics.Drawable
-
Scales the
Drawable
in by the amount specified in the specified scale, from the specified center point. - scale(Pointf, Pointf) - Method in class tech.fastj.math.Transform2D
- Scene - Class in tech.fastj.systems.control
-
Class containing the logic for a specific section, or scene, of a game.
- Scene(String) - Constructor for class tech.fastj.systems.control.Scene
-
Constructs a scene with the specified name.
- SceneError - tech.fastj.engine.CrashMessages
-
"The game crashed, due to a scene error."
- SceneManager - Class in tech.fastj.systems.control
-
The manager which allows for control over the scenes in a game.
- SceneManager() - Constructor for class tech.fastj.systems.control.SceneManager
- ScrollLock - tech.fastj.input.keyboard.Keys
-
Constant representing the "Scroll lock" key.
- seek(long) - Method in class tech.fastj.systems.audio.MemoryAudio
-
Changes the playback position by the specified
timeChange
value, in milliseconds. - Semicolon - tech.fastj.input.keyboard.Keys
-
Constant representing the ";" key.
- Separater - tech.fastj.input.keyboard.Keys
-
Constant representing the "Separater" key.
- Separator - tech.fastj.input.keyboard.Keys
-
Constant representing the "Separator" key.
- set(float, float) - Method in class tech.fastj.math.Pointf
-
Sets the x and y values of this
Pointf
object to the values specified. - set(int, int) - Method in class tech.fastj.math.Point
-
Sets the x and y values of this
Point
object to the values specified. - setAudioCloseAction(Consumer<LineEvent>) - Method in class tech.fastj.systems.audio.AudioEventListener
-
Sets the "audio close" event action to the action specified.
- setAudioOpenAction(Consumer<LineEvent>) - Method in class tech.fastj.systems.audio.AudioEventListener
-
Sets the "audio open" event action to the action specified.
- setAudioPauseAction(Consumer<LineEvent>) - Method in class tech.fastj.systems.audio.AudioEventListener
-
Sets the "audio pause" event action to the action specified.
- setAudioResumeAction(Consumer<LineEvent>) - Method in class tech.fastj.systems.audio.AudioEventListener
-
Sets the "audio resume" event action to the action specified.
- setAudioStartAction(Consumer<LineEvent>) - Method in class tech.fastj.systems.audio.AudioEventListener
-
Sets the "audio start" event action to the action specified.
- setAudioStopAction(Consumer<LineEvent>) - Method in class tech.fastj.systems.audio.AudioEventListener
-
Sets the "audio stop" event action to the action specified.
- setBackgroundColor(Color) - Method in class tech.fastj.graphics.display.Display
-
Sets the display's background color.
- setBackgroundToCameraPos(Camera) - Method in class tech.fastj.graphics.display.Display
-
Changes the background to the location of the camera.
- setCollisionPath(Path2D.Float) - Method in class tech.fastj.graphics.Drawable
-
Sets the collision path to the specified parameter.
- setCurrentScene(String) - Method in class tech.fastj.systems.control.SceneManager
-
Sets the current scene to the scene with the name specified.
- setCurrentScene(Scene) - Method in class tech.fastj.systems.control.SceneManager
-
Sets the current scene to the scene specified.
- setDisplayedTitle(String) - Method in class tech.fastj.graphics.display.Display
-
Sets the title that the end user sees to the specified title.
- setFill(Paint) - Method in class tech.fastj.graphics.game.Polygon2D
-
Sets the polygon's fill paint.
- setFill(Paint) - Method in class tech.fastj.graphics.game.Text2D
-
Sets the
Text2D
'sPaint
. - setFill(Paint) - Method in class tech.fastj.graphics.ui.elements.Button
-
Sets the
Paint
object for the button. - setFont(Font) - Method in class tech.fastj.graphics.game.Text2D
-
Sets the
Text2D
'sFont
. - setFont(Font) - Method in class tech.fastj.graphics.ui.elements.Button
-
Sets the
Font
for the button. - setFullscreen(boolean) - Method in class tech.fastj.graphics.display.Display
-
Sets the
Display
's full-screen state to the specified parameter. - setIcon(BufferedImage) - Method in class tech.fastj.graphics.display.Display
-
Sets the display's icon.
- setInitialized(boolean) - Method in class tech.fastj.systems.control.Scene
-
Sets whether the scene is initialized.
- setInternalResolution(Point) - Method in class tech.fastj.graphics.display.Display
-
Sets the
Display
's game resolution. - setLoopCount(int) - Method in class tech.fastj.systems.audio.MemoryAudio
-
Sets the amount of times the audio will loop.
- setLoopPoints(float, float) - Method in class tech.fastj.systems.audio.MemoryAudio
-
Sets the audio's loop points.
- setOnAction(Consumer<MouseEvent>) - Method in class tech.fastj.graphics.ui.UIElement
-
Sets the UIElement's
onAction
event to the specified action. - setOnActionCondition(EventCondition) - Method in class tech.fastj.graphics.ui.UIElement
-
Sets the "onAction" condition, the determinant of whether the ui elements'
onAction
events will be fired. - setOutline(BasicStroke, Color) - Method in class tech.fastj.graphics.game.Polygon2D
-
Sets the polygon's outline stroke and color.
- setOutlineColor(Color) - Method in class tech.fastj.graphics.game.Polygon2D
-
Sets the polygon's outline color.
- setOutlineStroke(BasicStroke) - Method in class tech.fastj.graphics.game.Polygon2D
-
Sets the polygon's outline stroke.
- setPlaybackPosition(long) - Method in class tech.fastj.systems.audio.MemoryAudio
-
Sets the playback position to the specified
playbackPosition
value, in milliseconds. - setRenderStyle(RenderStyle) - Method in class tech.fastj.graphics.game.Polygon2D
-
Sets the polygon's render style.
- setRotation(float) - Method in class tech.fastj.graphics.display.Camera
-
Sets the
Camera
's rotation to the specified value. - setRotation(float) - Method in class tech.fastj.graphics.Drawable
-
Sets the
Drawable
's rotation to the specified value. - setRotation(float) - Method in class tech.fastj.math.Transform2D
- setScale(Pointf) - Method in class tech.fastj.graphics.display.Camera
-
Sets the
Camera
's scale to the specified value. - setScale(Pointf) - Method in class tech.fastj.graphics.Drawable
-
Sets the
Drawable
's scale to the specified value. - setScale(Pointf) - Method in class tech.fastj.math.Transform2D
- setShouldLoop(boolean) - Method in class tech.fastj.systems.audio.MemoryAudio
-
Directly sets whether the audio should loop, overriding changes made through
MemoryAudio.setLoopCount(int)
andMemoryAudio.setLoopPoints(float, float)
. - setShouldRender(boolean) - Method in class tech.fastj.graphics.Drawable
-
Sets whether the
Drawable
should be rendered. - setShouldThrowExceptions(boolean) - Static method in class tech.fastj.engine.FastJEngine
-
Sets whether the engine should throw exceptions.
- setTargetFPS(int) - Static method in class tech.fastj.engine.FastJEngine
-
Sets the engine's target FPS.
- setTargetUPS(int) - Static method in class tech.fastj.engine.FastJEngine
-
Sets the engine's target UPS.
- setText(String) - Method in class tech.fastj.graphics.game.Text2D
-
Sets the
Text2D
's text. - setText(String) - Method in class tech.fastj.graphics.ui.elements.Button
-
Sets the text for the button.
- setTitle(String) - Method in class tech.fastj.graphics.display.Display
-
Sets the true title of the
Display
. - setTransform(Pointf, float, Pointf) - Method in class tech.fastj.graphics.display.Camera
-
Sets the
Camera
's translation, rotation, and scale to the specified values. - setTransform(Pointf, float, Pointf) - Method in class tech.fastj.graphics.Drawable
-
Sets the
Drawable
's translation, rotation, and scale to the specified values. - setTranslation(Pointf) - Method in class tech.fastj.graphics.display.Camera
-
Sets the
Camera
's translation to the specified value. - setTranslation(Pointf) - Method in class tech.fastj.graphics.Drawable
-
Sets the
Drawable
's translation to the specified value. - setTranslation(Pointf) - Method in class tech.fastj.math.Transform2D
- setWindowedFullscreen(boolean) - Method in class tech.fastj.graphics.display.Display
-
Sets the display's windowed full-screen state to the specified parameter.
- setWindowResolution(Point) - Method in class tech.fastj.graphics.display.Display
-
Sets the
Display
's viewed resolution. - Seven - tech.fastj.input.keyboard.Keys
-
Constant representing the "7" key.
- shouldLoop() - Method in class tech.fastj.systems.audio.MemoryAudio
-
Gets whether the should should be looping.
- shouldRender() - Method in class tech.fastj.graphics.Drawable
-
Gets the value that defines whether the
Drawable
should be rendered. - ShouldRender - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- showFPSInTitle(boolean) - Method in class tech.fastj.graphics.display.Display
-
Enables or disables displaying the FPS in the title bar of the display.
- showTitleBar(boolean) - Method in class tech.fastj.graphics.display.Display
-
Sets whether the title bar of the
Display
should be shown. - signedAngle(Pointf, Pointf) - Static method in class tech.fastj.math.Pointf
-
Calculates and returns the signed angle between the specified
Pointf
s. - signedAngle(Point, Point) - Static method in class tech.fastj.math.Point
-
Calculates and returns the signed angle between the specified
Point
s. - SimpleManager - Class in tech.fastj.systems.control
-
The manager which allows for control over a game with a single scene.
- SimpleManager() - Constructor for class tech.fastj.systems.control.SimpleManager
-
Initializes the contents of the
SimpleManager
. - simpleRotation(float) - Static method in interface tech.fastj.systems.behaviors.Behavior
-
Gets an instance of
Behavior
that, when assigned to aGameObject
, rotates it by the specified rotation every update call. - simpleScale(Pointf) - Static method in interface tech.fastj.systems.behaviors.Behavior
-
Gets an instance of
Behavior
that, when assigned to aGameObject
, scales it by the specified scale every update call. - simpleTranslation(Pointf) - Static method in interface tech.fastj.systems.behaviors.Behavior
-
Gets an instance of
Behavior
that, when assigned to aGameObject
, translates it by the specified translation every update call. - Six - tech.fastj.input.keyboard.Keys
-
Constant representing the "6" key.
- Slash - tech.fastj.input.keyboard.Keys
-
Constant representing the "Slash" key.
- snap(float, float, float) - Static method in class tech.fastj.math.Maths
-
Snaps the specified number to the edge it is closest to.
- Space - tech.fastj.input.keyboard.Keys
-
Constant representing the "Space" key.
- squareMagnitude() - Method in class tech.fastj.math.Point
-
Calculates and returns the square magnitude of the
Point
. - squareMagnitude() - Method in class tech.fastj.math.Pointf
-
Calculates and returns the square magnitude of the
Pointf
. - Standard - Static variable in class tech.fastj.graphics.display.RenderSettings.ImageVariantResolution
-
Render setting that specifies to always use the standard resolution of an image.
- start() - Static method in class tech.fastj.engine.internals.ThreadFixer
-
Starts a daemon thread, if one has not already been started.
- stop() - Static method in class tech.fastj.input.keyboard.Keyboard
- stop() - Static method in class tech.fastj.input.mouse.Mouse
- stop() - Method in interface tech.fastj.systems.audio.Audio
-
Stops the audio's sound output entirely.
- stop() - Method in class tech.fastj.systems.audio.MemoryAudio
-
Stops the audio's sound output entirely.
- stop() - Method in class tech.fastj.systems.audio.StreamedAudio
- Stop - tech.fastj.input.keyboard.Keys
-
Constant representing the "Stop" key.
- StopLooping - Static variable in class tech.fastj.systems.audio.MemoryAudio
-
Signifies that the audio should stop looping.
- stopLoopingNow() - Method in class tech.fastj.systems.audio.MemoryAudio
-
Immediately stops the audio's looping, setting whether the audio should loop immediately to
false
. - Stopped - tech.fastj.systems.audio.state.PlaybackState
-
Audio
state when the audio is not emitting sound. - StreamedAudio - Class in tech.fastj.systems.audio
-
An audio object used for sound playback.
- StreamedAudioPlayer - Class in tech.fastj.systems.audio
-
Class for playing
streamed audio
. - StreamedAudioPlayer() - Constructor for class tech.fastj.systems.audio.StreamedAudioPlayer
- subtract(float) - Method in class tech.fastj.math.Pointf
-
Subtracts the values of this
Pointf
by the specified float value, and returns a newPointf
with the modified values. - subtract(int) - Method in class tech.fastj.math.Point
-
Subtracts the values of this
Point
by the specified integer value, and returns a newPoint
with the modified values. - subtract(Point) - Method in class tech.fastj.math.Point
-
Subtracts the values of this
Point
by the specifiedPoint
, and returns a newPoint
with the modified values. - subtract(Pointf) - Method in class tech.fastj.math.Pointf
-
Subtracts the values of this
Pointf
by the specifiedPointf
, and returns a newPointf
with the modified values. - subtract(Pointf, float) - Static method in class tech.fastj.math.Pointf
-
Static method to subtract a
Pointf
object by a float value, and return a newPointf
. - subtract(Pointf, Pointf) - Static method in class tech.fastj.math.Pointf
-
Static method to subtract two Points (from the parameters specified) together, and return a new
Pointf
object. - subtract(Point, int) - Static method in class tech.fastj.math.Point
-
Static method to subtract a
Point
object by an integer value, and return a newPoint
. - subtract(Point, Point) - Static method in class tech.fastj.math.Point
-
Static method to subtract two Points (from the parameters specified) together, and return a new
Point
object. - Subtract - tech.fastj.input.keyboard.Keys
-
Constant representing the "Subtract" key.
- SupportedFileFormats - Class in tech.fastj.graphics.io
- switchScenes(String) - Method in class tech.fastj.systems.control.SceneManager
-
Switches to the scene specified, loading that scene if necessary.
T
- T - tech.fastj.input.keyboard.Keys
-
Constant representing the "T" key.
- Tab - tech.fastj.input.keyboard.Keys
-
Constant representing the "Tab" key.
- TaggableEntity - Class in tech.fastj.systems.tags
-
Abstract class that allows you to identify objects by tags.
- TaggableEntity() - Constructor for class tech.fastj.systems.tags.TaggableEntity
- TagHandler - Interface in tech.fastj.systems.tags
-
Interface denoting that the implementing classes directly interface with the
BehaviorManager
class. - TagManager - Class in tech.fastj.systems.tags
-
Class to manage tags and taggable entities for all
TagHandler
s. - tech.fastj.engine - package tech.fastj.engine
- tech.fastj.engine.internals - package tech.fastj.engine.internals
- tech.fastj.graphics - package tech.fastj.graphics
- tech.fastj.graphics.display - package tech.fastj.graphics.display
- tech.fastj.graphics.game - package tech.fastj.graphics.game
- tech.fastj.graphics.gradients - package tech.fastj.graphics.gradients
- tech.fastj.graphics.io - package tech.fastj.graphics.io
- tech.fastj.graphics.ui - package tech.fastj.graphics.ui
- tech.fastj.graphics.ui.elements - package tech.fastj.graphics.ui.elements
- tech.fastj.graphics.util - package tech.fastj.graphics.util
- tech.fastj.input - package tech.fastj.input
- tech.fastj.input.keyboard - package tech.fastj.input.keyboard
- tech.fastj.input.mouse - package tech.fastj.input.mouse
- tech.fastj.math - package tech.fastj.math
- tech.fastj.systems.audio - package tech.fastj.systems.audio
- tech.fastj.systems.audio.state - package tech.fastj.systems.audio.state
- tech.fastj.systems.behaviors - package tech.fastj.systems.behaviors
- tech.fastj.systems.control - package tech.fastj.systems.control
- tech.fastj.systems.fio - package tech.fastj.systems.fio
- tech.fastj.systems.tags - package tech.fastj.systems.tags
- Text2D - Class in tech.fastj.graphics.game
-
Drawable
subclass for drawing text. - Text2D(String) - Constructor for class tech.fastj.graphics.game.Text2D
-
Text2D
constructor that takes in a string of text. - Text2DBuilder - Class in tech.fastj.graphics.game
-
A builder class for creating
Text2D
objects. - theGameCrashed(String) - Static method in enum tech.fastj.engine.CrashMessages
-
Creates a string starting with
"The game crashed, due to "
, adding the specified error message to the end. - ThreadFixer - Class in tech.fastj.engine.internals
-
Class that fixes inaccurate sleep time on Windows computers.
- Three - tech.fastj.input.keyboard.Keys
-
Constant representing the "3" key.
- Timer - Class in tech.fastj.engine.internals
-
Timer that accurately specifies time.
- Timer() - Constructor for class tech.fastj.engine.internals.Timer
- TopLeft - tech.fastj.graphics.Boundary
-
Top left boundary -- array index 0.
- toPointf(Point) - Static method in class tech.fastj.math.Point
-
Converts the specified
Point
to aPointf
object. - TopRight - tech.fastj.graphics.Boundary
-
Top right boundary -- array index 1.
- toString() - Method in class tech.fastj.graphics.display.Camera
- toString() - Method in class tech.fastj.graphics.Drawable
- toString() - Method in class tech.fastj.graphics.game.GameObject
- toString() - Method in class tech.fastj.graphics.game.Model2D
- toString() - Method in class tech.fastj.graphics.game.Polygon2D
- toString() - Method in enum tech.fastj.input.keyboard.Keys
- toString() - Method in class tech.fastj.math.Point
-
Formats the
Point
's coordinates in aString
. - toString() - Method in class tech.fastj.math.Pointf
-
Formats the
Pointf
's coordinates in aString
. - toString() - Method in class tech.fastj.math.Transform2D
- toString() - Method in class tech.fastj.systems.audio.MemoryAudio
- toString() - Method in class tech.fastj.systems.audio.StreamedAudio
- transform - Variable in class tech.fastj.graphics.Drawable
- Transform - Static variable in class tech.fastj.graphics.io.PsdfUtil.ParsingKeys
- Transform2D - Class in tech.fastj.math
-
Convenience class for storing/performing 2D transformations using
AffineTransform
. - Transform2D() - Constructor for class tech.fastj.math.Transform2D
- transformedCollisionPath - Variable in class tech.fastj.graphics.Drawable
- translate(Pointf) - Method in class tech.fastj.graphics.display.Camera
-
Translates the
Camera
's position by the specified translation. - translate(Pointf) - Method in class tech.fastj.graphics.Drawable
-
Translates the
Drawable
's position by the specified translation. - translate(Pointf) - Method in class tech.fastj.math.Transform2D
- Two - tech.fastj.input.keyboard.Keys
-
Constant representing the "2" key.
U
- U - tech.fastj.input.keyboard.Keys
-
Constant representing the "U" key.
- UIElement - Class in tech.fastj.graphics.ui
-
A drawable to be used as UI.
- UIElement(Scene) - Constructor for class tech.fastj.graphics.ui.UIElement
-
Instantiates the
UIElement
's internals, and adds it to the origin scene as a ui element/mouse listener. - UIElement(SimpleManager) - Constructor for class tech.fastj.graphics.ui.UIElement
-
Instantiates the
UIElement
's internals, and adds it to the origin scene as a ui element/mouse listener. - Undefined - tech.fastj.input.keyboard.Keys
-
Constant representing the "Undefined" key.
- Underscore - tech.fastj.input.keyboard.Keys
-
Constant representing the "_" key.
- Undo - tech.fastj.input.keyboard.Keys
-
Constant representing the "Undo" key.
- UnimplementedMethodError - tech.fastj.engine.CrashMessages
-
"The game crashed, due to the call of a method not yet implemented."
- unload(Display) - Method in class tech.fastj.systems.control.Scene
-
Unloads the scene into an uninitialized state.
- unloadMemoryAudio(String) - Static method in class tech.fastj.systems.audio.AudioManager
-
Unloads the
MemoryAudio
object with the specified id from memory. - unloadMemoryAudio(String...) - Static method in class tech.fastj.systems.audio.AudioManager
-
Unloads all
MemoryAudio
objects with the specified ids from memory. - unloadStreamedAudio(String) - Static method in class tech.fastj.systems.audio.AudioManager
-
Unloads the
StreamedAudio
object with the specified id from memory. - unloadStreamedAudio(String...) - Static method in class tech.fastj.systems.audio.AudioManager
-
Unloads all
StreamedAudio
objects with the specified ids from memory. - Unmodified - Static variable in class tech.fastj.graphics.display.RenderSettings.OutlineRenderingStyle
-
Render setting that does not normalize polygon outlines when rendering, leaving it unmodified.
- Up - tech.fastj.input.keyboard.Keys
-
Constant representing the "Up" key.
- update(Display) - Method in interface tech.fastj.systems.control.LogicManager
-
Allows the logic manager to update its game state once.
- update(Display) - Method in class tech.fastj.systems.control.Scene
-
Updates the scene's state.
- update(Display) - Method in class tech.fastj.systems.control.SceneManager
-
Updates the current scene, its behaviors, and listeners.
- update(GameObject) - Method in interface tech.fastj.systems.behaviors.Behavior
-
Updates the assigned
GameObject
. - updateBehaviorListeners() - Method in interface tech.fastj.systems.behaviors.BehaviorHandler
-
Updates all behavior listeners in the behavior handler.
- updateBehaviorListeners(BehaviorHandler) - Static method in class tech.fastj.systems.behaviors.BehaviorManager
-
Updates the behavior listeners aliased to the specified
BehaviorHandler
. - updateBehaviors() - Method in class tech.fastj.graphics.game.GameObject
-
Calls the
Behavior.update(GameObject)
method for each of theGameObject
's behaviors.
V
- V - tech.fastj.input.keyboard.Keys
-
Constant representing the "V" key.
- valueOf(String) - Static method in enum tech.fastj.engine.CrashMessages
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum tech.fastj.engine.FPSValue
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum tech.fastj.engine.HWAccel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum tech.fastj.graphics.Boundary
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum tech.fastj.graphics.game.RenderStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum tech.fastj.input.keyboard.Keys
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum tech.fastj.input.mouse.MouseAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum tech.fastj.input.mouse.MouseButtons
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum tech.fastj.systems.audio.state.PlaybackState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum tech.fastj.engine.CrashMessages
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum tech.fastj.engine.FPSValue
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum tech.fastj.engine.HWAccel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum tech.fastj.graphics.Boundary
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum tech.fastj.graphics.game.RenderStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in class tech.fastj.graphics.io.SupportedFileFormats
- values() - Static method in enum tech.fastj.input.keyboard.Keys
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum tech.fastj.input.mouse.MouseAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum tech.fastj.input.mouse.MouseButtons
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum tech.fastj.systems.audio.state.PlaybackState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valuesString - Static variable in class tech.fastj.graphics.io.SupportedFileFormats
W
- W - tech.fastj.input.keyboard.Keys
-
Constant representing the "W" key.
- warning(T) - Static method in class tech.fastj.engine.FastJEngine
-
Logs the specified warning message, using
System.err.println
. - WheelScroll - tech.fastj.input.mouse.MouseAction
-
Mouse action where the scroll wheel was scrolled.
- Windows - tech.fastj.input.keyboard.Keys
-
Constant representing the "Windows" key.
- withColor(Color) - Method in class tech.fastj.graphics.gradients.LinearGradientBuilder
-
Adds a
Color
to the builder to be used in the resulting gradient. - withColor(Color) - Method in class tech.fastj.graphics.gradients.RadialGradientBuilder
-
Adds a
Color
to the builder to be used in the resulting gradient. - withColors(Color...) - Method in class tech.fastj.graphics.gradients.LinearGradientBuilder
-
Adds several
Color
s to the builder to be used in the resulting gradient. - withColors(Color...) - Method in class tech.fastj.graphics.gradients.RadialGradientBuilder
-
Adds several
Color
s to the builder to be used in the resulting gradient. - withFill(Paint) - Method in class tech.fastj.graphics.game.Polygon2DBuilder
-
Sets the builder's fill paint value.
- withFill(Paint) - Method in class tech.fastj.graphics.game.Text2DBuilder
-
Sets the builder's fill paint value.
- withFont(Font) - Method in class tech.fastj.graphics.game.Text2DBuilder
-
Sets the builder's font paint value.
- withinIntegerRange(int, int, int) - Static method in class tech.fastj.math.Maths
-
Ensures the specified number is within the range of the minimum and maximum numbers.
- withinRange(float, float, float) - Static method in class tech.fastj.math.Maths
-
Ensures the specified number is within the range of the minimum and maximum numbers.
- withOutline(BasicStroke, Color) - Method in class tech.fastj.graphics.game.Polygon2DBuilder
-
Sets the builder's outline stroke and outline color values.
- withTransform(Pointf, float, Pointf) - Method in class tech.fastj.graphics.game.Model2DBuilder
-
Sets the builder's transformation (translation, rotation, scale) values.
- withTransform(Pointf, float, Pointf) - Method in class tech.fastj.graphics.game.Polygon2DBuilder
-
Sets the builder's transformation (translation, rotation, scale) values.
- withTransform(Pointf, float, Pointf) - Method in class tech.fastj.graphics.game.Text2DBuilder
-
Sets the builder's transformation (translation, rotation, scale) values.
- write(Path, Model2D) - Static method in class tech.fastj.graphics.io.PsdfUtil
- writeModel(Path, Model2D) - Static method in class tech.fastj.graphics.util.ModelUtil
-
Writes a model file containing the current state of the
Polygon2D
s that make up the specifiedModel2D
.
X
- x - Variable in class tech.fastj.math.Point
-
The x value of the
Point
. - x - Variable in class tech.fastj.math.Pointf
-
The x value of the
Pointf
. - X - tech.fastj.input.keyboard.Keys
-
Constant representing the "X" key.
- X11 - tech.fastj.engine.HWAccel
-
Enables X11 hardware acceleration.
Y
- y - Variable in class tech.fastj.math.Point
-
The y value of the
Point
. - y - Variable in class tech.fastj.math.Pointf
-
The y value of the
Pointf
. - Y - tech.fastj.input.keyboard.Keys
-
Constant representing the "Y" key.
Z
- Z - tech.fastj.input.keyboard.Keys
-
Constant representing the "Z" key.
- Zero - tech.fastj.input.keyboard.Keys
-
Constant representing the "0" key.
All Classes All Packages