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 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "A" key.
- Accept - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Accept" key.
- add(float) - Method in class io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.fastj.math.Pointf
-
Static method used to add a
Pointf
object by a float value, and return a newPointf
. - add(Pointf, Pointf) - Static method in class io.github.lucasstarsz.fastj.math.Pointf
-
Static method used to add two
Pointf
s (from the parameters specified) together, and return a newPointf
object. - add(Point, int) - Static method in class io.github.lucasstarsz.fastj.math.Point
-
Static method used to add a
Point
object by an integer value, and return a newPoint
. - add(Point, Point) - Static method in class io.github.lucasstarsz.fastj.math.Point
-
Static method used to add two
Point
s (from the parameters specified) together, and return a newPoint
object. - Add - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Add" key.
- addAsGameObject(Scene) - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Adds the
Drawable
to theScene
parameter's list of game objects. - addAsGUIObject(Scene) - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Adds the
Drawable
to theScene
parameter's list of GUI objects. - addBehavior(Behavior, Scene) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
- addBehaviorListener(GameObject) - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Adds the specified behavior listener to the scene.
- addGameObject(GameObject) - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Adds the specified game object.
- addGUIObject(UIElement) - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Adds the specified gui object.
- addKeyboardActionListener(KeyboardActionListener) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Adds the specified
KeyboardActionListener
. - addListener(Scene, GameObject) - Static method in class io.github.lucasstarsz.fastj.systems.behaviors.BehaviorManager
-
Adds the specified behavior listener to the list aliased to the specified
Scene
. - addListenerList(Scene) - Static method in class io.github.lucasstarsz.fastj.systems.behaviors.BehaviorManager
-
Adds an alias for the specified
Scene
, if one does not already exist. - addMouseActionListener(MouseActionListener) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Adds the specified
MouseActionListener
. - addOnAction(Consumer<MouseEvent>) - Method in class io.github.lucasstarsz.fastj.graphics.ui.UIElement
-
Adds the specified action to the UIElement's
onAction
events. - addScene(Scene) - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Adds the specified scene into the logic manager.
- addTag(String, Scene) - Method in class io.github.lucasstarsz.fastj.systems.tags.TaggableEntity
-
Adds the specified tag to the object's list of tags.
- addTaggableEntity(Scene, Drawable) - Static method in class io.github.lucasstarsz.fastj.systems.tags.TagManager
-
Adds the specified taggable entity to the list of taggable entities for the specified scene.
- addTaggableEntity(T) - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Adds the specified taggable entity, only if it extends the
Drawable
class. - addTaggableEntityList(Scene) - Static method in class io.github.lucasstarsz.fastj.systems.tags.TagManager
-
Adds the specified
Scene
as an alias to store a list of taggable entities for. - addTagToMasterList(String) - Static method in class io.github.lucasstarsz.fastj.systems.tags.TagManager
-
Adds the specified tag to the master list of tags.
- Again - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Again" key.
- AllCandidates - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "All candidates" key.
- Alphanumeric - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Alphanumeric" key.
- Alt - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Alt" key.
- AltGraph - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Alt graph" key.
- Ampersand - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "&" key.
- areKeysDown() - Static method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
-
Checks if any keys are pressed.
- asPointf() - Method in class io.github.lucasstarsz.fastj.math.Point
-
Returns this
Point
as aPointf
object, without modification. - Asterisk - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "*" key.
- AtSign - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "@" key.
- AVERAGE - io.github.lucasstarsz.fastj.engine.FPSValue
-
The overall average frame count per second.
B
- B - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "B" key.
- BackQuote - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Back quote" key.
- BackSlash - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Back slash" key.
- Backspace - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Backspace" key.
- Begin - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Begin" key.
- Behavior - Interface in io.github.lucasstarsz.fastj.systems.behaviors
-
Interface that allows for the addition of behaviors to
GameObject
s. - BehaviorManager - Class in io.github.lucasstarsz.fastj.systems.behaviors
-
Class to manage behavior listeners for all scenes.
- BehaviorManager() - Constructor for class io.github.lucasstarsz.fastj.systems.behaviors.BehaviorManager
- BOTTOM_LEFT - io.github.lucasstarsz.fastj.graphics.Boundary
-
Bottom left boundary -- array index 3.
- BOTTOM_RIGHT - io.github.lucasstarsz.fastj.graphics.Boundary
-
Bottom right boundary -- array index 2.
- Boundary - Enum in io.github.lucasstarsz.fastj.graphics
-
Defines aliases for the order in which
Drawable
boundaries are ordered in an array. - Button - Class in io.github.lucasstarsz.fastj.graphics.ui.elements
-
A
UIElement
that can be assigned an action on left click. - Button(Scene) - Constructor for class io.github.lucasstarsz.fastj.graphics.ui.elements.Button
-
Constructs a button with a default location and size.
- Button(Scene, Pointf, Pointf) - Constructor for class io.github.lucasstarsz.fastj.graphics.ui.elements.Button
-
Constructs a button with the specified location and initial size.
C
- C - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "C" key.
- CALLED_AFTER_RUN_ERROR - io.github.lucasstarsz.fastj.engine.CrashMessages
-
"The game crashed, due to a method being called that can only be called before the program starts.
- Camera - Class in io.github.lucasstarsz.fastj.graphics
-
Class that allows for transformation of the
Display
which the camera is passed to. - Camera() - Constructor for class io.github.lucasstarsz.fastj.graphics.Camera
-
Constructs a
Camera
with default transformations. - Camera(float) - Constructor for class io.github.lucasstarsz.fastj.graphics.Camera
-
Constructs a
Camera
with rotation set to the specified value, and translation set to 0. - Camera(Pointf) - Constructor for class io.github.lucasstarsz.fastj.graphics.Camera
-
Constructs a
Camera
with translation set to the specified value, and rotation set to 0. - Camera(Pointf, float) - Constructor for class io.github.lucasstarsz.fastj.graphics.Camera
-
Constructs a
Camera
with translation and rotation set to the specified values. - Cancel - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Cancel" key.
- CapsLock - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Caps lock" key.
- centerOf(Pointf[]) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Gets the numerical x and y center of the specified
Pointf
array. - Circumflex - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "^" key.
- Clear - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Clear" key.
- clearAllBehaviors() - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Clears the
GameObject
's list ofBehavior
s. - clearAllLists() - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Removes all game objects and gui objects.
- clearAllLists() - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Removes all elements from the scene.
- clearAllLists() - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Clears all action listener lists, effectively resetting the input manager.
- clearBehaviorListeners() - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Removes all behavior listeners in the scene.
- clearEntityList(Scene) - Static method in class io.github.lucasstarsz.fastj.systems.tags.TagManager
-
Clears the taggable entity list aliased to the specified scene.
- clearGameObjects() - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Removes all game objects from the manager.
- clearGUIObjects() - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Removes all gui objects from the manager.
- clearKeyActionListeners() - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Clears the list of keyboard action listeners.
- clearListenerList(Scene) - Static method in class io.github.lucasstarsz.fastj.systems.behaviors.BehaviorManager
-
Removes all elements from the list aliased to the specified
Scene
. - clearMouseActionListeners() - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Clears the list of mouse action listeners.
- clearTaggableEntities() - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Removes all taggable from the scene.
- clearTags() - Method in class io.github.lucasstarsz.fastj.systems.tags.TaggableEntity
-
Removes all tags from this object's tag list.
- clearTags() - Static method in class io.github.lucasstarsz.fastj.systems.tags.TagManager
-
Removes all the tags from the master list.
- CLICK - io.github.lucasstarsz.fastj.systems.input.mouse.MouseAction
-
Mouse action where a mouse button was pressed and released.
- close() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Closes and disposes of the
Display
. - CloseBracket - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Close bracket" key.
- closeGame() - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Closes the game, without closing the JVM instance.
- CodeInput - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Code input" key.
- collidesWith(Drawable) - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Determines whether or not two objects are colliding (intersection).
- collisionPath - Variable in class io.github.lucasstarsz.fastj.graphics.Drawable
-
The shape defining where the Drawable collides.
- Colon - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the ":" key.
- Comma - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Comma" key.
- Compose - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Compose" key.
- condition(AWTEvent) - Method in interface io.github.lucasstarsz.fastj.graphics.ui.EventCondition
-
The condition to check for before firing off event actions in a
UIElement
. - CONFIGURATION_ERROR - io.github.lucasstarsz.fastj.engine.CrashMessages
-
"The game crashed, due to a configuration error."
- configure(int, int, Point, Point, HWAccel) - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Configures the game's FPS (Frames Per Second), UPS (Updates Per Second), viewer resolution, internal resolution, and hardware acceleration.
- configureHardwareAcceleration(HWAccel) - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Attempts to set the hardware acceleration type of this game engine to the specified parameter.
- configureInternalResolution(Point) - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Configures the game's internal resolution.
- configureViewerResolution(Point) - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Configures the game's window resolution.
- ContextMenu - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Context menu" key.
- Control - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Control" key.
- Convert - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Convert" key.
- copy() - Method in class io.github.lucasstarsz.fastj.math.Point
-
Gets a copy of the
Point
, and returns the copy. - copy() - Method in class io.github.lucasstarsz.fastj.math.Pointf
-
Gets a copy of the
Pointf
, and returns the copy. - Copy - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Copy" key.
- CPU_RENDER - io.github.lucasstarsz.fastj.engine.HWAccel
-
Disables all hardware acceleration.
- CrashMessages - Enum in io.github.lucasstarsz.fastj.engine
-
A simple and effective enum for creating crash messages in FastJ.
- createBox(float, float, float) - Static method in class io.github.lucasstarsz.fastj.graphics.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 io.github.lucasstarsz.fastj.graphics.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 io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Creates a
Pointf
array of 4 points, based on the specified x and y floats, and sizePointf
. - createBox(Pointf, float) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Creates a
Pointf
array of 4 points, based on the specified locationPointf
and size float. - createBox(Pointf, Pointf) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Creates a
Pointf
array of 4 points, based on the specified locationPointf
and sizePointf
. - createBox(Rectangle2D.Float) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Creates a
Pointf
array of 4 points, based on theRectangle2D.Float
parameter. - createBoxFromImage(BufferedImage) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Creates a
Pointf
array of 4 points, based on the specifiedBufferedImage
. - createBoxFromImage(BufferedImage, Pointf) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Creates a
Pointf
array of 4 points, based on the specifiedBufferedImage
and the locationPointf
. - createCollisionOutline(Polygon2D[]) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Creates a
Pointf
array representing an outline of the specifiedPolygon2D
array. - createPath(Pointf[]) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Creates a
Path2D.Float
based on the specifiedPointf
array. - createRect(Pointf[]) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Creates a
Rectangle2D.Float
based on the specifiedPointf
array. - createRectFromImage(BufferedImage, Pointf) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Creates a
Rectangle2D.Float
based on the specifiedBufferedImage
and the locationPointf
. - CURRENT - io.github.lucasstarsz.fastj.engine.FPSValue
-
The most recently calculated frame count per second.
- Cut - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Cut" key.
D
- D - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "D" key.
- DeadAbovedot - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead abovedot" key.
- DeadAbovering - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead abovering" key.
- DeadAcute - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead acute" key.
- DeadBreve - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead breve" key.
- DeadCaron - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead caron" key.
- DeadCedilla - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead cedilla" key.
- DeadCircumflex - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead circumflex" key.
- DeadDiaeresis - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead diaeresis" key.
- DeadDoubleacute - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead doubleacute" key.
- DeadGrave - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead grave" key.
- DeadIota - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead iota" key.
- DeadMacron - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead macron" key.
- DeadOgonek - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead ogonek" key.
- DeadSemivoicedSound - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead semivoiced sound" key.
- DeadTilde - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead tilde" key.
- DeadVoicedSound - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Dead voiced sound" key.
- Decimal - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Decimal" key.
- Default - Static variable in class io.github.lucasstarsz.fastj.graphics.Camera
-
A camera with no transformations.
- DEFAULT - io.github.lucasstarsz.fastj.engine.HWAccel
-
Leaves the configuration of hardware acceleration as the OS-decided default.
- DefaultBackBufferAmount - Static variable in class io.github.lucasstarsz.fastj.graphics.Display
-
Integer representing the default back buffer amount of
3
. - DefaultColor - Static variable in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Color
representing the default color value of(0, 0, 0)
. - DefaultColor - Static variable in class io.github.lucasstarsz.fastj.graphics.game.Text2D
-
Color
representing the default color value of(0, 0, 0)
. - DefaultFill - Static variable in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
boolean
representing the default "should fill" value oftrue
. - DefaultFont - Static variable in class io.github.lucasstarsz.fastj.graphics.game.Text2D
-
Font
representing the default font ofSegoe UI Plain, 12px
. - DefaultFPS - Static variable in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Default engine value for frames per second.
- DefaultInternalResolution - Static variable in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Default engine value for the internal resolution of the
Display
. - DefaultLocation - Static variable in class io.github.lucasstarsz.fastj.graphics.ui.elements.Button
-
The default location of a
Button
: (0, 0). - DefaultRotation - Static variable in class io.github.lucasstarsz.fastj.graphics.Camera
-
float
representing a default rotation value of0f
. - DefaultRotation - Static variable in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
float
representing a default rotation value of0f
. - DefaultScale - Static variable in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Pointf
representing a default scale of(1f, 1f)
. - DefaultShow - Static variable in class io.github.lucasstarsz.fastj.graphics.game.Model2D
-
boolean
representing the default "should render" oftrue
. - DefaultShow - Static variable in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
boolean
representing the default "should render" value oftrue
. - DefaultShow - Static variable in class io.github.lucasstarsz.fastj.graphics.game.Text2D
-
boolean
representing the default "should render" value oftrue
. - DefaultSize - Static variable in class io.github.lucasstarsz.fastj.graphics.ui.elements.Button
-
The default size of a
Button
: (100f, 25f). - DefaultTranslation - Static variable in class io.github.lucasstarsz.fastj.graphics.Camera
-
Pointf
representing a default translation of(0f, 0f)
. - DefaultTranslation - Static variable in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Pointf
representing a default translation of(0f, 0f)
. - DefaultUPS - Static variable in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Default engine value for updates per second.
- DefaultWindowResolution - Static variable in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Default engine value for the window resolution of the
Display
. - Delete - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Delete" key.
- destroy() - Method in interface io.github.lucasstarsz.fastj.systems.behaviors.Behavior
-
Destroys any leftover memory in the
Behavior
. - destroy(Scene) - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Destroys all memory the
Drawable
uses. - destroy(Scene) - Method in class io.github.lucasstarsz.fastj.graphics.game.Model2D
- destroy(Scene) - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
- destroy(Scene) - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
- destroy(Scene) - Method in class io.github.lucasstarsz.fastj.graphics.ui.elements.Button
- destroyAllBehaviors() - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Calls the
Behavior.destroy()
method for each of theGameObject
's behaviors. - destroyTheRest(Scene) - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Destroys the
Drawable
'sDrawable
components, as well as any references theDrawable
has within theScene
parameter. - destroyTheRest(Scene) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Destroys all references of the
GameObject
's behaviors and removes its references from the scene. - destroyTheRest(Scene) - Method in class io.github.lucasstarsz.fastj.graphics.ui.UIElement
-
Removes the
UIElement
's references in the specified scene as a GUI object and as a mouse listener. - DIRECT3D - io.github.lucasstarsz.fastj.engine.HWAccel
-
Enables Direct 3D Draw hardware acceleration.
- Display - Class in io.github.lucasstarsz.fastj.graphics
-
Class that draws to a screen using a combination of Swing's JFrame, and AWT's Canvas.
- Display(String, Point, Point) - Constructor for class io.github.lucasstarsz.fastj.graphics.Display
-
Creates a display with the specified title, viewer resolution, and internal resolution.
- divide(float) - Method in class io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.fastj.math.Pointf
-
Static method used to divide a
Pointf
object by a float value, and return a newPointf
. - divide(Pointf, Pointf) - Static method in class io.github.lucasstarsz.fastj.math.Pointf
-
Static method used to divide two
Pointf
objects (from the parameters specified) together, and return a newPointf
. - divide(Point, int) - Static method in class io.github.lucasstarsz.fastj.math.Point
-
Static method used to divide a
Point
object by an integer value, and return a newPoint
. - divide(Point, Point) - Static method in class io.github.lucasstarsz.fastj.math.Point
-
Static method used to divide two
Point
objects (from the parameters specified) together, and return a newPoint
. - Divide - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Divide" key.
- doesTagExist(String) - Static method in class io.github.lucasstarsz.fastj.systems.tags.TagManager
-
Determines whether a tag is in the master list.
- DollarSign - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "$" key.
- Down - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Down" key.
- DRAG - io.github.lucasstarsz.fastj.systems.input.mouse.MouseAction
-
Mouse action where the mouse was moved while a button was clicked.
- Drawable - Class in io.github.lucasstarsz.fastj.graphics
-
The abstract class to objects that can be drawn to a
Display
. - Drawable() - Constructor for class io.github.lucasstarsz.fastj.graphics.Drawable
-
Constructs a
Drawable
, initializing its internal variables. - drawableManager - Variable in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Drawable manager instance for the scene -- it controls the scene's game objects and ui elements.
- DrawableManager - Class in io.github.lucasstarsz.fastj.systems.control
-
Class to manage
Drawable
objects. - DrawableManager() - Constructor for class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Initializes a
DrawableManager
's internals. - DrawUtil - Class in io.github.lucasstarsz.fastj.graphics
-
Class that provides supplementary methods for working with
Drawable
s. - DrawUtil() - Constructor for class io.github.lucasstarsz.fastj.graphics.DrawUtil
E
- E - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "E" key.
- Eight - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "8" key.
- End - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "End" key.
- endProcess(MouseAction) - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
-
Forces a quick end to the specified mouse action.
- Enter - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Enter" key.
- ENTER - io.github.lucasstarsz.fastj.systems.input.mouse.MouseAction
-
Mouse action where the mouse has moved onto the
Display
. - equals(Object) - Method in class io.github.lucasstarsz.fastj.graphics.Camera
- equals(Object) - Method in class io.github.lucasstarsz.fastj.graphics.game.Model2D
-
Checks for equality between the
Model2D
and the other specified. - equals(Object) - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Checks for equality between the
Polygon2D
and the other specified. - equals(Object) - Method in class io.github.lucasstarsz.fastj.math.Point
-
Compares two
Point
s, and returns whether they are equal. - equals(Object) - Method in class io.github.lucasstarsz.fastj.math.Pointf
-
Compares two
Pointf
s, and returns whether they are equal. - Equals - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Equals" key.
- equalsPoint(Point) - Method in class io.github.lucasstarsz.fastj.math.Pointf
- equalsPointf(Pointf) - Method in class io.github.lucasstarsz.fastj.math.Point
- error(T, Exception) - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Closes the game, then throws the error specified with the error message.
- errorMessage - Variable in enum io.github.lucasstarsz.fastj.engine.CrashMessages
-
The error message of the enum constant.
- Escape - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Escape" key.
- EuroSign - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Euro currency sign" key.
- EventCondition - Interface in io.github.lucasstarsz.fastj.graphics.ui
-
Class to ensure that an event only applies to a
UIElement
if the condition specified is met. - ExclamationMark - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "!" key.
- EXIT - io.github.lucasstarsz.fastj.systems.input.mouse.MouseAction
-
Mouse action where the mouse has moved off of the
Display
.
F
- F - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F" key.
- F1 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F1" key.
- F10 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F10" key.
- F11 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F11" key.
- F12 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F12" key.
- F13 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F13" key.
- F14 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F14" key.
- F15 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F15" key.
- F16 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F16" key.
- F17 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F17" key.
- F18 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F18" key.
- F19 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F19" key.
- F2 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F2" key.
- F20 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F20" key.
- F21 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F21" key.
- F22 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F22" key.
- F23 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F23" key.
- F24 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F24" key.
- F3 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F3" key.
- F4 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F4" key.
- F5 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F5" key.
- F6 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F6" key.
- F7 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F7" key.
- F8 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F8" key.
- F9 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "F9" key.
- fastj.library - module fastj.library
-
The FastJ Library in its entirety.
- FastJEngine - Class in io.github.lucasstarsz.fastj.engine
-
The main control hub of the game engine.
- FastJEngine() - Constructor for class io.github.lucasstarsz.fastj.engine.FastJEngine
- FinalKey - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "final" key.
- Find - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Find" key.
- fireKeyRecentlyPressed(KeyEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Fires a
key recently pressed
event to all listeningKeyboardActionListeners
. - fireKeyReleased(KeyEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Fires a
key recently released
event to all listeningKeyboardActionListeners
. - fireKeysDown() - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Fires a
keys down
event to all listeningKeyboardActionListeners
. - fireKeyTyped(KeyEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Fires a
key recently typed
event to all listeningKeyboardActionListeners
. - fireMouseClicked(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Fires a
mouse button recently clicked
event to all listeningMouseActionListeners
. - fireMouseDragged(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Fires a
mouse dragged
event to all listeningMouseActionListeners
. - fireMouseEntered(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Fires a
mouse entered screen
event to all listeningMouseActionListeners
. - fireMouseExited(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Fires a
mouse exited screen
event to all listeningMouseActionListeners
. - fireMouseMoved(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Fires a
mouse moved
event to all listeningMouseActionListeners
. - fireMousePressed(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Fires a
mouse button recently pressed
event to all listeningMouseActionListeners
. - fireMouseReleased(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Fires a
mouse button recently released
event to all listeningMouseActionListeners
. - fireMouseWheelScrolled(MouseWheelEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Fires a
mouse wheel scrolled
event to all listeningMouseActionListeners
. - Five - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "5" key.
- floatEquals(float, float) - Static method in class io.github.lucasstarsz.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 io.github.lucasstarsz.fastj.math.Maths
-
The desired floating point precision for FastJ.
- Four - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "4" key.
- FPSValue - Enum in io.github.lucasstarsz.fastj.engine
-
The different data options available when calling
FastJEngine.getFPSData(io.github.lucasstarsz.fastj.engine.FPSValue)
. - FullWidth - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Full width" key.
G
- G - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "G" key.
- GameObject - Class in io.github.lucasstarsz.fastj.graphics.game
-
A type of
Drawable
that can be easily transformed and otherwise manipulated. - GameObject() - Constructor for class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Initializes
GameObject
internals. - getAllInListWithTag(Scene, String) - Static method in class io.github.lucasstarsz.fastj.systems.tags.TagManager
-
Gets all taggable entities in the specified
Scene
with the specified tag. - getAllWithTag(String) - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Gets all taggable entities with the specified tag.
- getAllWithTag(String) - Static method in class io.github.lucasstarsz.fastj.systems.tags.TagManager
-
Gets all taggable entities from all
Scene
s with the specified tag. - getBackground() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the background of the
Display
. - getBackgroundColor() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the color of the background of the
Display
. - getBehaviorListeners() - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Gets the behavior listeners assigned to the scene.
- getBehaviors() - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Gets the
GameObject
's list ofBehavior
s. - getBound(Boundary) - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Gets one of the boundaries of the
Drawable
, based on the specifiedBoundary
parameter. - getBounds() - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Gets the boundaries of the
Drawable
. - getButtonLastClicked() - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
-
Gets the value of the button that was last clicked.
- getButtonLastPressed() - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
-
Gets the value of the button that was last pressed.
- getButtonLastReleased() - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
-
Gets the value of the button that was last released.
- getCamera() - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Gets the camera of the scene.
- getCanvas() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the
Canvas
of theDisplay
. - getCenter() - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Gets the center point of the
Drawable
. - getCollisionPath() - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Gets the collision path of the
Drawable
. - getColor() - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Gets the color set for this polygon.
- getColor() - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
-
Gets the
Color
of thisText2D
. - getCurrentScene() - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Gets the currently active scene.
- getDefaultMonitor() - Static method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the default monitor.
- getDefaultMonitorDimensions() - Static method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the dimensions of the default monitor.
- getDefaultMonitorRefreshRate() - Static method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the refresh rate of the default monitor.
- getDisplay() - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Gets the
Display
object associated with the game engine. - getDisplayedTitle() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the title currently being displayed in the title bar of the
Display
. - getElapsedTime() - Method in class io.github.lucasstarsz.fastj.engine.internals.Timer
-
Re-evaluates the last loop time, then returns the time passed since the last loop.
- getEntityList(Scene) - Static method in class io.github.lucasstarsz.fastj.systems.tags.TagManager
-
Gets the list of taggable entities at the specified
Scene
. - getFont() - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
-
Gets the
Font
of thisText2D
. - getFont() - Method in class io.github.lucasstarsz.fastj.graphics.ui.elements.Button
-
Gets the
Font
object for the button. - getFPSData(FPSValue) - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Gets the FPS-based value of the parameter specified.
- getGameObjects() - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Gets the game objects assigned to the manager.
- getGraphics() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the
Graphics2D
object associated with thisDisplay
, set to the transformation of the current scene's camera. - getGUIObjects() - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Gets the gui objects assigned to the manager.
- getHardwareAcceleration() - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Gets the hardware acceleration currently enabled for the game engine.
- getIcon() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the displayed icon of the
Display
. - getID() - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Gets the
String
ID of theDrawable
. - getInternalResolution() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the internal resolution of the
Display
. - getJFrame() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the
JFrame
of theDisplay
. - getKeyboardActionListeners() - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Gets the list of keyboard action listeners for this
InputManager
. - getLastKeyPressed() - Static method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
-
Gets the last key character pressed.
- getLastLoopTime() - Method in class io.github.lucasstarsz.fastj.engine.internals.Timer
-
Gets the last loop time.
- getList(Scene) - Static method in class io.github.lucasstarsz.fastj.systems.behaviors.BehaviorManager
-
Gets the specified list of behavior listeners aliased to the specified
Scene
. - getLogicManager() - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Gets the
LogicManager
associated with the game engine. - getMonitor(int) - Static method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the specified monitor.
- getMonitorCount() - Static method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the amount of monitors the user has.
- getMonitorDimensions(int) - Static method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the dimensions of the specified monitor.
- getMonitorRefreshRate(int) - Static method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the refresh rate of the specified monitor.
- getMouseActionListeners() - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Gets the list of mouse action listeners for this
InputManager
. - getMouseLocation() - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
-
Gets the location of the mouse on the
Display
. - getOriginalPoints() - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Gets the original points that were set for this polygon.
- getPaint() - Method in class io.github.lucasstarsz.fastj.graphics.ui.elements.Button
-
Gets the
Paint
object for the button. - getPoints() - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Gets the
Pointf
array associated with the current state of the polygon. - getPolygons() - Method in class io.github.lucasstarsz.fastj.graphics.game.Model2D
-
Gets the array of
Polygon2D
s for this Model2D. - getRenderPath() - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Gets the rendered
Path2D.Float
for this polygon. - getResolutionScale() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the scaling of the
Display
resolution. - getRotation() - Method in class io.github.lucasstarsz.fastj.graphics.Camera
-
Gets the
Camera
's current rotation. - getRotation() - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Gets the
GameObject
's rotation. - getRotation() - Method in class io.github.lucasstarsz.fastj.graphics.game.Model2D
- getRotation() - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
- getRotation() - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
- getRotationWithin360() - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Gets the rotation, normalized to be within a range of
(-360, 360)
. - getScale() - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Gets the
GameObject
's scale. - getScale() - Method in class io.github.lucasstarsz.fastj.graphics.game.Model2D
- getScale() - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
- getScale() - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
- getScene(String) - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Gets the scene with the specified scene name, if it exists.
- getSceneName() - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Gets the name of the scene.
- getScenes() - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Gets the list of all scenes in the logic manager.
- getScrollDirection() - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
-
Gets the last mouse wheel scroll direction.
- getTaggableEntities() - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Gets the taggable entities assigned to the scene.
- getTags() - Method in class io.github.lucasstarsz.fastj.systems.tags.TaggableEntity
-
Gets the
TaggableEntity
's list of tags. - getTargetFPS() - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Gets the engine's current target FPS.
- getTargetUPS() - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Gets the engine's current target UPS.
- getText() - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
-
Gets the displayed text of this
Text2D
. - getText() - Method in class io.github.lucasstarsz.fastj.graphics.ui.elements.Button
-
Gets the text for the button.
- getTime() - Method in class io.github.lucasstarsz.fastj.engine.internals.Timer
-
Gets the current time, in nanoseconds.
- getTitle() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the title of the
Display
. - getTransformation() - Method in class io.github.lucasstarsz.fastj.graphics.Camera
-
Gets the transformation of this
Camera
object as anAffineTransform
. - getTransformation() - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Gets the entire transformation of the
GameObject
. - getTranslation() - Method in class io.github.lucasstarsz.fastj.graphics.Camera
-
Gets the
Camera
's current translation. - getTranslation() - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Gets the
GameObject
's translation. - getTranslation() - Method in class io.github.lucasstarsz.fastj.graphics.game.Model2D
- getTranslation() - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
- getTranslation() - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
- getUUID() - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Gets the raw
UUID
of theDrawable
. - getViewerResolution() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the viewer resolution of the
Display
. - Greater - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Greater" key.
H
- H - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "H" key.
- HalfWidth - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Half width" key.
- hashCode() - Method in class io.github.lucasstarsz.fastj.graphics.Camera
- hashCode() - Method in class io.github.lucasstarsz.fastj.graphics.game.Model2D
- hashCode() - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
- hashCode() - Method in class io.github.lucasstarsz.fastj.math.Point
- hashCode() - Method in class io.github.lucasstarsz.fastj.math.Pointf
- hasTag(String) - Method in class io.github.lucasstarsz.fastj.systems.tags.TaggableEntity
-
Determines whether this object has the specified tag.
- Help - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Help" key.
- HIGHEST - io.github.lucasstarsz.fastj.engine.FPSValue
-
The highest frame count recorded in a second.
- Hiragana - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Hiragana" key.
- Home - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Home" key.
- HWAccel - Enum in io.github.lucasstarsz.fastj.engine
-
Enumerator defining what types of hardware acceleration are supported.
I
- I - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "I" key.
- illegalAction(Class<?>) - Static method in enum io.github.lucasstarsz.fastj.engine.CrashMessages
-
Gets a string depicting an error caused by an illegal action in the method of the specified class.
- init() - Method in class io.github.lucasstarsz.fastj.engine.internals.Timer
-
Initializes the Timer.
- init() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Initializes the
Display
. - init() - Static method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
-
Initializes the keyboard.
- init(GameObject) - Method in interface io.github.lucasstarsz.fastj.systems.behaviors.Behavior
-
Initializes the assigned
GameObject
. - init(String, LogicManager) - Static method in class io.github.lucasstarsz.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 io.github.lucasstarsz.fastj.engine.FastJEngine
-
Initializes the game engine with the specified title, logic manager, and other options.
- initBehaviorListeners() - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Initializes all behavior listeners in the scene.
- initBehaviorListeners(Scene) - Static method in class io.github.lucasstarsz.fastj.systems.behaviors.BehaviorManager
-
Initializes the behavior listeners aliased to the specified
Scene
. - initBehaviors() - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Calls the
Behavior.init(io.github.lucasstarsz.fastj.graphics.game.GameObject)
method for each of theGameObject
's behaviors. - inputManager - Variable in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Input manager instance for the scene -- it controls the scene's received events.
- InputManager - Class in io.github.lucasstarsz.fastj.systems.input
-
Class to manage user input and input event processing.
- InputManager() - Constructor for class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Constructs an
InputManager
, initializing its internal variables. - InputMethodOnOff - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Input method on off" key.
- Insert - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Insert" key.
- interactsWith(Drawable, MouseAction) - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
-
Determines whether the specified
Drawable
intersects the mouse, if the mouse is currently performing the specifiedMouseAction
. - intersects(Path2D) - Method in class io.github.lucasstarsz.fastj.math.Point
-
Determines whether a specified Path2D object intersects with this
Point
object. - intersects(Path2D) - Method in class io.github.lucasstarsz.fastj.math.Pointf
-
Determines whether a specified Path2D object intersects with this
Pointf
object. - intersects(Rectangle2D) - Method in class io.github.lucasstarsz.fastj.math.Point
-
Determines whether a specified Rectangle2D object intersects with this
Point
object. - intersects(Rectangle2D) - Method in class io.github.lucasstarsz.fastj.math.Pointf
-
Determines whether a specified Rectangle2D object intersects with this
Pointf
object. - InvertedExclamationMark - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "¡" key.
- io.github.lucasstarsz.fastj.engine - package io.github.lucasstarsz.fastj.engine
- io.github.lucasstarsz.fastj.engine.internals - package io.github.lucasstarsz.fastj.engine.internals
- io.github.lucasstarsz.fastj.graphics - package io.github.lucasstarsz.fastj.graphics
- io.github.lucasstarsz.fastj.graphics.game - package io.github.lucasstarsz.fastj.graphics.game
- io.github.lucasstarsz.fastj.graphics.ui - package io.github.lucasstarsz.fastj.graphics.ui
- io.github.lucasstarsz.fastj.graphics.ui.elements - package io.github.lucasstarsz.fastj.graphics.ui.elements
- io.github.lucasstarsz.fastj.math - package io.github.lucasstarsz.fastj.math
- io.github.lucasstarsz.fastj.systems.behaviors - package io.github.lucasstarsz.fastj.systems.behaviors
- io.github.lucasstarsz.fastj.systems.control - package io.github.lucasstarsz.fastj.systems.control
- io.github.lucasstarsz.fastj.systems.input - package io.github.lucasstarsz.fastj.systems.input
- io.github.lucasstarsz.fastj.systems.input.keyboard - package io.github.lucasstarsz.fastj.systems.input.keyboard
- io.github.lucasstarsz.fastj.systems.input.mouse - package io.github.lucasstarsz.fastj.systems.input.mouse
- io.github.lucasstarsz.fastj.systems.tags - package io.github.lucasstarsz.fastj.systems.tags
- isClosed() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the value that determines whether the
Display
is closed. - isFilled() - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Gets the fill boolean for this polygon.
- isFullscreen() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the value that determines whether the
Display
is in full-screen mode. - isInitialized() - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Gets the value that specifies whether the scene is initialized.
- isKeyDown(int) - Static method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
-
Checks if the specified key is currently pressed.
- isKeyDown(int, Keyboard.KeyLocation) - Static method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
-
Checks if the specified key (at the specified key location) is currently pressed.
- isKeyRecentlyPressed(int) - Static method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
-
Checks if the specified key was recently pressed.
- isKeyRecentlyPressed(int, Keyboard.KeyLocation) - Static method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
-
Checks if the specified key (at the specified key location) was recently pressed.
- isKeyRecentlyReleased(int) - Static method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
-
Checks if the specified key was recently released.
- isKeyRecentlyReleased(int, Keyboard.KeyLocation) - Static method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
-
Checks if the specified key (at the specified key location) was recently released.
- isMouseButtonPressed(int) - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
-
Gets the value that determines whether the specified mouse button is currently pressed.
- isMouseButtonPressed(MouseButtons) - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
-
Gets the value that determines whether the specified mouse button is currently pressed.
- isOnScreen() - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
-
Gets the value that determines whether the mouse is currently on the
Display
window. - isOnScreen(Drawable, Camera) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the value that determines whether the
Drawable
is visible on screen. - isReady() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the value that determines whether the
Display
is ready to be rendered to. - isRunning() - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Gets the value that defines whether the engine is running.
- isShowingFPSInTitle() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the value that determines whether the
Display
is showing the FPS in the title bar. - isShowingTitleBar() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the value that determines whether the
Display
is showing the title bar. - isSwitchingScenes() - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Gets the boolean that specifies whether the logic manager is currently switching scenes.
- isSwitchingScreenState() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the value that determines whether the
Display
is switching its screen state. - isWindowedFullscreen() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Gets the value that determines whether the
Display
is in windowed full-screen mode.
J
- J - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "J" key.
- JapaneseHiragana - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Japanese hiragana" key.
- JapaneseKatakana - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Japanese katakana" key.
- JapaneseRoman - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Japanese roman" key.
K
- K - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "K" key.
- Kana - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Kana" key.
- KanaLock - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Kana lock" key.
- Kanji - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Kanji" key.
- Katakana - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Katakana" key.
- Keyboard - Class in io.github.lucasstarsz.fastj.systems.input.keyboard
-
Class that stores key input information from the
Display
. - Keyboard() - Constructor for class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
- Keyboard.KeyLocation - Enum in io.github.lucasstarsz.fastj.systems.input.keyboard
-
Enum that defines the location of a key.
- KeyboardActionListener - Interface in io.github.lucasstarsz.fastj.systems.input.keyboard
-
A keyboard action listener.
- keyPressed(KeyEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
- keyReleased(KeyEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
- Keys - Class in io.github.lucasstarsz.fastj.systems.input.keyboard
-
Based on the
KeyEvent
class, theKey
class defines better-looking names for keyboard input keycodes. - Keys() - Constructor for class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
- keyTyped(KeyEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
- KpDown - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Kp down" key.
- KpLeft - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Kp left" key.
- KpRight - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Kp right" key.
- KpUp - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Kp up" key.
L
- L - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "L" key.
- Left - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Left" key.
- LEFT - io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard.KeyLocation
-
A key appearing twice on the keyboard -- this specifies the version on the left.
- LEFT - io.github.lucasstarsz.fastj.systems.input.mouse.MouseButtons
-
Enum value for the left mouse button.
- LeftBracket - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Left bracket" key.
- LeftParenthesis - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "(" key.
- lengthOfPath(Path2D) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Gets the amount of points in the specified
Path2D
. - Less - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Less" key.
- load(Display) - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Loads the scene into an initialized state.
- load2DModel(String) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Gets a
Polygon2D
array, loaded from a.psdf
file. - loadCurrentScene() - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Loads the current scene, if it's not already initialized.
- location - Variable in enum io.github.lucasstarsz.fastj.graphics.Boundary
-
The array index corresponding to the enum constant.
- log(T) - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Logs the specified message, using
System.out.println
. - LogicManager - Class in io.github.lucasstarsz.fastj.systems.control
-
The manager which allows for control over the scenes in a game.
- LogicManager() - Constructor for class io.github.lucasstarsz.fastj.systems.control.LogicManager
- LOWEST - io.github.lucasstarsz.fastj.engine.FPSValue
-
The lowest frame count recorded in a second.
M
- M - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "M" key.
- magnitude(float, float) - Static method in class io.github.lucasstarsz.fastj.math.Maths
-
Finds the magnitude of the specified
x
andy
values. - magnitude(Point) - Static method in class io.github.lucasstarsz.fastj.math.Maths
-
Finds the magnitude of the
Point
based on itsx
andy
coordinates. - magnitude(Pointf) - Static method in class io.github.lucasstarsz.fastj.math.Maths
-
Finds the magnitude of the
Pointf
based on itsx
andy
coordinates. - Maths - Class in io.github.lucasstarsz.fastj.math
-
Secondary mathematics class to provide useful utility methods dealing primarily with
float
s. - Maths() - Constructor for class io.github.lucasstarsz.fastj.math.Maths
- Meta - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Meta" key.
- MIDDLE - io.github.lucasstarsz.fastj.systems.input.mouse.MouseButtons
-
Enum value for the middle mouse button.
- Minus - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Minus" key.
- Modechange - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Modechange" key.
- Model2D - Class in io.github.lucasstarsz.fastj.graphics.game
-
Drawable
subclass for grouping an array ofPolygon2D
s under a single object. - Model2D(Polygon2D[]) - Constructor for class io.github.lucasstarsz.fastj.graphics.game.Model2D
-
Model2D constructor that takes in an array of
Polygon2D
objects. - Model2D(Polygon2D[], boolean) - Constructor for class io.github.lucasstarsz.fastj.graphics.game.Model2D
-
Model2D constructor that takes in an array of
Polygon2D
objects and a show variable. - Model2D(Polygon2D[], Pointf, float, Pointf, boolean) - Constructor for class io.github.lucasstarsz.fastj.graphics.game.Model2D
-
Model2D
constructor that takes in an array ofPolygon2D
s, a show variable, and an initial translation, rotation, and scale for the model. - modifyPoints(Pointf[], boolean, boolean, boolean) - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Replaces the current point array with the parameter point array.
- modifyRenderSettings(RenderingHints.Key, Object) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Changes the rendering settings for the specified key.
- Mouse - Class in io.github.lucasstarsz.fastj.systems.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 io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
- MouseAction - Enum in io.github.lucasstarsz.fastj.systems.input.mouse
-
Enum defining the different types of mouse actions.
- MouseActionListener - Interface in io.github.lucasstarsz.fastj.systems.input.mouse
-
A mouse action listener.
- MouseButtons - Enum in io.github.lucasstarsz.fastj.systems.input.mouse
-
Convenience enum defining common mouse button values.
- mouseClicked(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
- mouseDragged(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
- mouseEntered(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
- mouseExited(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
- mouseMoved(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
- mousePressed(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
- mouseReleased(MouseEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
- mouseWheelMoved(MouseWheelEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
- MOVE - io.github.lucasstarsz.fastj.systems.input.mouse.MouseAction
-
Mouse action where the mouse was moved.
- multiply(float) - Method in class io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.fastj.math.Pointf
-
Static method used to multiply a
Pointf
object by a float value, and return a newPointf
. - multiply(Pointf, Pointf) - Static method in class io.github.lucasstarsz.fastj.math.Pointf
-
Static method used to multiply two
Pointf
objects (from the parameters specified) together, and return a newPointf
. - multiply(Point, int) - Static method in class io.github.lucasstarsz.fastj.math.Point
-
Static method used to multiply a
Point
object by an integer value, and return a newPoint
. - multiply(Point, Point) - Static method in class io.github.lucasstarsz.fastj.math.Point
-
Static method used to multiply two
Point
objects (from the parameters specified) together, and return a newPoint
. - Multiply - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Multiply" key.
N
- N - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "N" key.
- Nine - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "9" key.
- Nonconvert - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Nonconvert" key.
- NumberSign - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "# (aka hashtag, pound symbol)" key.
- NumLock - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Num lock" key.
- NUMPAD - io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard.KeyLocation
-
A key on the "numpad" -- a collection of keys often to the right of the main keyboard.
- Numpad0 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "numpad 0" key.
- Numpad1 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "numpad 1" key.
- Numpad2 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "numpad 2" key.
- Numpad3 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "numpad 3" key.
- Numpad4 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "numpad 4" key.
- Numpad5 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "numpad 5" key.
- Numpad6 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "numpad 6" key.
- Numpad7 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "numpad 7" key.
- Numpad8 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "numpad 8" key.
- Numpad9 - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "numpad 9" key.
O
- O - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "O" key.
- One - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "1" key.
- ONE_PERCENT_LOW - io.github.lucasstarsz.fastj.engine.FPSValue
-
The average of the lowest 1% recorded frame count.
- onKeyDown() - Method in interface io.github.lucasstarsz.fastj.systems.input.keyboard.KeyboardActionListener
-
Event called when a key is currently pressed, once per game update.
- onKeyRecentlyPressed(KeyEvent) - Method in interface io.github.lucasstarsz.fastj.systems.input.keyboard.KeyboardActionListener
-
Event called when a key was recently pressed.
- onKeyReleased(KeyEvent) - Method in interface io.github.lucasstarsz.fastj.systems.input.keyboard.KeyboardActionListener
-
Event called when a key was recently released.
- onKeyTyped(KeyEvent) - Method in interface io.github.lucasstarsz.fastj.systems.input.keyboard.KeyboardActionListener
-
Event called when a key was recently typed.
- onMouseClicked(MouseEvent) - Method in interface io.github.lucasstarsz.fastj.systems.input.mouse.MouseActionListener
-
Event called when a mouse button is clicked.
- onMouseDragged(MouseEvent) - Method in interface io.github.lucasstarsz.fastj.systems.input.mouse.MouseActionListener
-
Event called when the mouse is dragged.
- onMouseEntersScreen(MouseEvent) - Method in interface io.github.lucasstarsz.fastj.systems.input.mouse.MouseActionListener
-
Event called when the mouse enters the application screen.
- onMouseExitsScreen(MouseEvent) - Method in interface io.github.lucasstarsz.fastj.systems.input.mouse.MouseActionListener
-
Event called when the mouse exits the application screen.
- onMouseMoved(MouseEvent) - Method in interface io.github.lucasstarsz.fastj.systems.input.mouse.MouseActionListener
-
Event called when the mouse is moved.
- onMousePressed(MouseEvent) - Method in class io.github.lucasstarsz.fastj.graphics.ui.UIElement
-
Fires the ui element's
onAction
event(s), if its condition is met. - onMousePressed(MouseEvent) - Method in interface io.github.lucasstarsz.fastj.systems.input.mouse.MouseActionListener
-
Event called when a mouse button is pressed.
- onMouseReleased(MouseEvent) - Method in interface io.github.lucasstarsz.fastj.systems.input.mouse.MouseActionListener
-
Event called when a mouse button is released.
- onMouseWheelScrolled(MouseEvent) - Method in interface io.github.lucasstarsz.fastj.systems.input.mouse.MouseActionListener
-
Event called when the mouse wheel is scrolled.
- open() - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Displays the
Display
. - OpenBracket - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Open bracket" key.
- OPENGL - io.github.lucasstarsz.fastj.engine.HWAccel
-
Enables OpenGL hardware acceleration.
- Origin - Static variable in class io.github.lucasstarsz.fastj.math.Point
-
Point
representing the origin as anint
:(0, 0)
. - Origin - Static variable in class io.github.lucasstarsz.fastj.math.Pointf
-
Pointf
representing the origin as afloat
:(0f, 0f)
.
P
- P - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "P" key.
- PageDown - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Page down" key.
- PageUp - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Page up" key.
- Paste - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Paste" key.
- pathEquals(Path2D, Path2D) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Checks for equality in length and point values between two
Path2D
objects. - Pause - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Pause" key.
- Period - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Period" key.
- Plus - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "+" key.
- Point - Class in io.github.lucasstarsz.fastj.math
-
Class that defines a point in 2D space, using integers.
- Point() - Constructor for class io.github.lucasstarsz.fastj.math.Point
-
Point
constructor, where its x and y values are set to zero. - Point(int) - Constructor for class io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.fastj.math.Point
-
Point
constructor, where the values for the newly createdPoint
are set to the parameterPoint
's values. - Pointf - Class in io.github.lucasstarsz.fastj.math
-
Class that defines a point in 2D space, using floats.
- Pointf() - Constructor for class io.github.lucasstarsz.fastj.math.Pointf
-
Pointf
constructor, where its x and y values are set to zero. - Pointf(float) - Constructor for class io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.fastj.math.Pointf
-
Pointf
constructor, where the values for the newly createdPointf
are set to the parameterPoint
's values. - Pointf(Pointf) - Constructor for class io.github.lucasstarsz.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 io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Gets a
Pointf
array that represents the points of thePath2D.Float
parameter. - Polygon2D - Class in io.github.lucasstarsz.fastj.graphics.game
-
Drawable
subclass for drawing a polygon. - Polygon2D(Pointf[]) - Constructor for class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Polygon2D
constructor that takes in a set of points. - Polygon2D(Pointf[], Pointf, float, Pointf, Color, boolean, boolean) - Constructor for class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Polygon2D
constructor that takes in a set of points, a color, fill variable, a show variable, and the translation, rotation, and scale of the polygon. - Polygon2D(Pointf[], Color, boolean, boolean) - Constructor for class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Polygon2D
constructor that takes in a set of points, a color, a fill variable, and a show variable. - PRESS - io.github.lucasstarsz.fastj.systems.input.mouse.MouseAction
-
Mouse action where a mouse button was pressed.
- PreviousCandidate - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Previous candidate" key.
- Printscreen - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Printscreen" key.
- processEvent(Scene, KeyEvent) - Static method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
-
Processes the specified key event for the specified scene, based on its event type.
- processEvent(Scene, MouseEvent) - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
-
Processes the specified mouse event for the specified scene, based on its event type.
- processEvents(Scene) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Processes all events in the event list, then clears them from the list.
- Props - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Props" key.
Q
- Q - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Q" key.
- Quote - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Quote" key.
- Quotedbl - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Quotedbl" key.
R
- R - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "R" key.
- random(float, float) - Static method in class io.github.lucasstarsz.fastj.math.Maths
-
Generates a random float number within the specified min and max limits.
- randomAtEdge(float, float) - Static method in class io.github.lucasstarsz.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 io.github.lucasstarsz.fastj.math.Maths
-
Generates a random boolean value.
- randomColor() - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Generates a random
Color
, while leaving the alpha to its default value (255). - randomColorWithAlpha() - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Generates a random
Color
, including the alpha level of the color. - randomFont() - Static method in class io.github.lucasstarsz.fastj.graphics.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 io.github.lucasstarsz.fastj.math.Maths
-
Generates a random integer number within the specified min and max limits.
- receivedInputEvent(InputEvent) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Stores the specified input in the event list to be processed later.
- refreshGameObjectList() - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Removes any null values from the list of game objects for the manager.
- refreshGUIObjectList() - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Removes any null values from the list of gui objects for the manager.
- RELEASE - io.github.lucasstarsz.fastj.systems.input.mouse.MouseAction
-
Mouse action where a mouse button, originally pressed, was released.
- removeBehavior(Behavior, Scene) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
- removeBehaviorListener(GameObject) - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Removes the specified behavior listener from the scene.
- removeGameObject(GameObject) - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Removes the specified game object.
- removeGameObject(String) - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Removes the game object with the specified ID.
- removeGUIObject(UIElement) - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Removes the specified gui object.
- removeGUIObject(String) - Method in class io.github.lucasstarsz.fastj.systems.control.DrawableManager
-
Removes the gui object with the specified ID.
- removeKeyboardActionListener(KeyboardActionListener) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Removes the specified
KeyboardActionListener
. - removeListener(Scene, GameObject) - Static method in class io.github.lucasstarsz.fastj.systems.behaviors.BehaviorManager
-
Removes the specified behavior from the list aliased to the specified
Scene
. - removeListenerList(Scene) - Static method in class io.github.lucasstarsz.fastj.systems.behaviors.BehaviorManager
-
Removes the list aliased to the specified
Scene
, and all elements inside. - removeMouseActionListener(MouseActionListener) - Method in class io.github.lucasstarsz.fastj.systems.input.InputManager
-
Removes the specified
MouseActionListener
. - removeScene(Scene) - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Removes the specified scene from the logic manager.
- removeScene(String) - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Removes a scene from the logic manager, based on the specified scene name.
- removeTag(String, Scene) - Method in class io.github.lucasstarsz.fastj.systems.tags.TaggableEntity
-
Removes the specified tag from the object's list of tags.
- removeTaggableEntity(Drawable) - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Removes the specified taggable entity.
- removeTaggableEntity(Scene, Drawable) - Static method in class io.github.lucasstarsz.fastj.systems.tags.TagManager
-
Removes the specified taggable entity from the list of taggable entities for the specified scene.
- removeTaggableEntityList(Scene) - Static method in class io.github.lucasstarsz.fastj.systems.tags.TagManager
-
Removes the list of taggable entities aliased to the specified
Scene
. - render(Display) - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Renders the current scene to the
Display
. - render(Graphics2D) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Renders the
GameObject
to the specifiedGraphics2D
parameter. - render(Graphics2D) - Method in class io.github.lucasstarsz.fastj.graphics.game.Model2D
- render(Graphics2D) - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
- render(Graphics2D) - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
- render(Map<String, GameObject>, Map<String, UIElement>, Camera) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Renders the specified game objects and GUI objects, within the viewing area of the Camera.
- RENDER_ERROR - io.github.lucasstarsz.fastj.engine.CrashMessages
-
"The game crashed, due to a rendering error."
- renderAsGUIObject(Graphics2D, Camera) - Method in class io.github.lucasstarsz.fastj.graphics.ui.elements.Button
- renderAsGUIObject(Graphics2D, Camera) - Method in class io.github.lucasstarsz.fastj.graphics.ui.UIElement
-
Renders the
UIElement
to the parameterGraphics2D
object, aligning with the window by rendering at the inverse translation of the specifiedCamera
. - reset() - Method in class io.github.lucasstarsz.fastj.graphics.Camera
-
Resets the camera's transformation to the default.
- reset() - Method in class io.github.lucasstarsz.fastj.math.Point
-
Resets this
Point
's values to zero. - reset() - Method in class io.github.lucasstarsz.fastj.math.Pointf
-
Resets this
Pointf
's x and y values to zero. - reset() - Static method in class io.github.lucasstarsz.fastj.systems.behaviors.BehaviorManager
-
Resets the behavior manager entirely.
- reset() - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Resets the logic manager.
- reset() - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Resets the scene's state entirely.
- reset() - Static method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
-
Clears all key input from the keyboard.
- reset() - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
-
Resets the
Mouse
. - reset() - Static method in class io.github.lucasstarsz.fastj.systems.tags.TagManager
-
Wipes the
TagManager
of all aliases and tags. - resizeDisplay(Point) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Resizes the
Display
to the specified size. - Right - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Right" key.
- RIGHT - io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard.KeyLocation
-
A key appearing twice on the keyboard -- this specifies the version on the right.
- RIGHT - io.github.lucasstarsz.fastj.systems.input.mouse.MouseButtons
-
Enum value for the right mouse button.
- RightBracket - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Right bracket" key.
- RightParenthesis - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the ")" key.
- RomanCharacters - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Roman characters" key.
- rotate(float) - Method in class io.github.lucasstarsz.fastj.graphics.Camera
-
Applies a modifier to the
Camera
's rotation. - rotate(float) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Rotates the
GameObject
in the direction of the specified rotation, about its center. - rotate(float, Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Rotates the
GameObject
in the direction of the specified rotation, about the specified center point. - rotate(float, Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.Model2D
- rotate(float, Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
- rotate(float, Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
- run() - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Runs the game.
- runningCheck() - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Checks if the engine is currently running -- if it is, crash the game.
S
- S - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "S" key.
- scale(float) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Scales the
GameObject
in by the amount specified in the specified scale, about its center. - scale(Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Scales the
GameObject
in by the amount specified in the specified scale, about its center. - scale(Pointf, Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Scales the
GameObject
in by the amount specified in the specified scale, from the specified center point. - scale(Pointf, Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.Model2D
- scale(Pointf, Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
- scale(Pointf, Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
- Scene - Class in io.github.lucasstarsz.fastj.systems.control
-
Class containing the logic for a specific section, or scene, of a game.
- Scene(String) - Constructor for class io.github.lucasstarsz.fastj.systems.control.Scene
-
Constructs a scene with the specified name.
- SCENE_ERROR - io.github.lucasstarsz.fastj.engine.CrashMessages
-
"The game crashed, due to a scene error."
- ScrollLock - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Scroll lock" key.
- Semicolon - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the ";" key.
- Separater - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Separater" key.
- Separator - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Separator" key.
- set(float, float) - Method in class io.github.lucasstarsz.fastj.math.Pointf
-
Sets the x and y values of this
Pointf
object to the values specified. - set(int, int) - Method in class io.github.lucasstarsz.fastj.math.Point
-
Sets the x and y values of this
Point
object to the values specified. - setBackgroundColor(Color) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Sets the display's background color.
- setBackgroundToCameraPos(Camera) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Changes the background to the location of the camera.
- setBounds(Pointf[]) - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Sets the boundaries of the
Drawable
to the specifiedPointf
array. - setCollisionPath(Shape) - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Sets the collision path to the specified parameter.
- setColor(Color) - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Sets the color for the polygon.
- setColor(Color) - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
-
Sets the
Color
for thisText2D
. - setCurrentScene(Scene) - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Sets the current scene to the scene specified.
- setCurrentScene(String) - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Sets the current scene to the scene with the name specified.
- setDisplayedTitle(String) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Sets the title that the end user sees to the specified title.
- setFilled(boolean) - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
-
Sets the fill boolean for the object.
- setFont(Font) - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
-
Sets the
Font
for thisText2D
. - setFont(Font) - Method in class io.github.lucasstarsz.fastj.graphics.ui.elements.Button
-
Sets the
Font
for the button. - setFullscreen(boolean) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Sets the
Display
's full-screen state to the specified parameter. - setIcon(BufferedImage) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Sets the display's icon.
- setInitialized(boolean) - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Sets whether the scene is initialized.
- setInternalResolution(Point) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Sets the
Display
's game resolution. - setOnAction(Consumer<MouseEvent>) - Method in class io.github.lucasstarsz.fastj.graphics.ui.UIElement
-
Sets the UIElement's
onAction
event to the specified action. - setOnActionCondition(EventCondition) - Method in class io.github.lucasstarsz.fastj.graphics.ui.UIElement
-
Sets the "onAction" condition, the determinant of whether the ui elements'
onAction
events will be fired. - setPaint(Paint) - Method in class io.github.lucasstarsz.fastj.graphics.ui.elements.Button
-
Sets the
Paint
object for the button. - setRotation(float) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Sets the
GameObject
's rotation to the specified value. - setScale(Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Sets the
GameObject
's scale to the specified value. - setShouldRender(boolean) - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Sets whether the
Drawable
should be rendered. - setTargetFPS(int) - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Sets the engine's target FPS.
- setTargetUPS(int) - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Sets the engine's target UPS.
- setText(String) - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
-
Sets the text for this
Text2D
. - setText(String) - Method in class io.github.lucasstarsz.fastj.graphics.ui.elements.Button
-
Sets the text for the button.
- setTitle(String) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Sets the true title of the
Display
. - setTranslation(Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Sets the
GameObject
's translation to the specified value. - setup(Display) - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Set up the game scenes, the display, and everything in between.
- setViewerResolution(Point) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Sets the
Display
's viewed resolution. - setWindowedFullscreen(boolean) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Sets the display's windowed full-screen state to the specified parameter.
- Seven - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "7" key.
- Shift - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Shift" key.
- shouldRender() - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Gets the value that defines whether the
Drawable
should be rendered. - showFPSInTitle(boolean) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Enables or disables displaying the FPS in the title bar of the display.
- showTitleBar(boolean) - Method in class io.github.lucasstarsz.fastj.graphics.Display
-
Sets whether the title bar of the
Display
should be shown. - simpleRotation(float) - Static method in interface io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.fastj.systems.behaviors.Behavior
-
Gets an instance of
Behavior
that, when assigned to aGameObject
, translates it by the specified translation every update call. - Six - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "6" key.
- Slash - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Slash" key.
- snap(float, float, float) - Static method in class io.github.lucasstarsz.fastj.math.Maths
-
Snaps the specified number to the edge it is closest to.
- Space - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Space" key.
- STANDARD - io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard.KeyLocation
-
Any key not in the other groups -- the most common type of key.
- start() - Static method in class io.github.lucasstarsz.fastj.engine.internals.ThreadFixer
-
Starts a daemon thread, if one has not already been started.
- stop() - Static method in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard
- stop() - Static method in class io.github.lucasstarsz.fastj.systems.input.mouse.Mouse
- Stop - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Stop" key.
- subtract(float) - Method in class io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.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 io.github.lucasstarsz.fastj.math.Pointf
-
Static method used to subtract a
Pointf
object by a float value, and return a newPointf
. - subtract(Pointf, Pointf) - Static method in class io.github.lucasstarsz.fastj.math.Pointf
-
Static method used to subtract two Points (from the parameters specified) together, and return a new
Pointf
object. - subtract(Point, int) - Static method in class io.github.lucasstarsz.fastj.math.Point
-
Static method used to subtract a
Point
object by an integer value, and return a newPoint
. - subtract(Point, Point) - Static method in class io.github.lucasstarsz.fastj.math.Point
-
Static method used to subtract two Points (from the parameters specified) together, and return a new
Point
object. - Subtract - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Subtract" key.
- switchScenes(String) - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Switches to the scene specified, loading that scene if necessary.
T
- T - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "T" key.
- Tab - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Tab" key.
- TaggableEntity - Class in io.github.lucasstarsz.fastj.systems.tags
-
Abstract class that allows you to identify objects by tags.
- TaggableEntity() - Constructor for class io.github.lucasstarsz.fastj.systems.tags.TaggableEntity
- TagManager - Class in io.github.lucasstarsz.fastj.systems.tags
-
Class to manage tags and taggable entities for all game scenes.
- TagManager() - Constructor for class io.github.lucasstarsz.fastj.systems.tags.TagManager
- Text2D - Class in io.github.lucasstarsz.fastj.graphics.game
-
Drawable
subclass for drawing text. - Text2D(String, Pointf) - Constructor for class io.github.lucasstarsz.fastj.graphics.game.Text2D
-
Text2D
Constructor that takes in a string of text and a location. - Text2D(String, Pointf, Color, Font, boolean) - Constructor for class io.github.lucasstarsz.fastj.graphics.game.Text2D
-
Text2D
Constructor that takes in a string of text, a location, a color, a font, and a show variable. - theGameCrashed(String) - Static method in enum io.github.lucasstarsz.fastj.engine.CrashMessages
-
Gets a string starting with
"The game crashed, due to "
, and adds the specified error message to the end. - ThreadFixer - Class in io.github.lucasstarsz.fastj.engine.internals
-
Class that fixes inaccurate sleep time on Windows computers.
- ThreadFixer() - Constructor for class io.github.lucasstarsz.fastj.engine.internals.ThreadFixer
- Three - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "3" key.
- Timer - Class in io.github.lucasstarsz.fastj.engine.internals
-
Timer that accurately specifies time.
- Timer() - Constructor for class io.github.lucasstarsz.fastj.engine.internals.Timer
- TOP_LEFT - io.github.lucasstarsz.fastj.graphics.Boundary
-
Top left boundary -- array index 0.
- TOP_RIGHT - io.github.lucasstarsz.fastj.graphics.Boundary
-
Top right boundary -- array index 1.
- toPointf(Point) - Static method in class io.github.lucasstarsz.fastj.math.Point
-
Converts the specified
Point
to aPointf
object. - toString() - Method in class io.github.lucasstarsz.fastj.graphics.Camera
- toString() - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
- toString() - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
- toString() - Method in class io.github.lucasstarsz.fastj.graphics.game.Model2D
- toString() - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
- toString() - Method in class io.github.lucasstarsz.fastj.math.Point
-
Returns this
Point
's coordinates as a String. - toString() - Method in class io.github.lucasstarsz.fastj.math.Pointf
-
Returns this
Pointf
's coordinates as a String. - translate(Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.Camera
-
Applies a modifier to the
Camera
's translation. - translate(Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Translates the
GameObject
's position by the specified translation. - translate(Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.Model2D
- translate(Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.Polygon2D
- translate(Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.game.Text2D
- translateBounds(Pointf) - Method in class io.github.lucasstarsz.fastj.graphics.Drawable
-
Translates the boundaries of the
Drawable
by the specifiedPointf
. - Two - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "2" key.
U
- U - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "U" key.
- UIElement - Class in io.github.lucasstarsz.fastj.graphics.ui
-
A drawable to be used as UI.
- UIElement(Scene) - Constructor for class io.github.lucasstarsz.fastj.graphics.ui.UIElement
-
Instantiates the
UIElement
's internals, and adds it to the origin scene as a ui element/mouse listener. - Undefined - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Undefined" key.
- Underscore - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "_" key.
- Undo - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Undo" key.
- UNIMPLEMENTED_METHOD_ERROR - io.github.lucasstarsz.fastj.engine.CrashMessages
-
"The game crashed, due to the call of a method not yet implemented.
- unload(Display) - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Unloads the scene into an uninitialized state.
- Up - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Up" key.
- update(Display) - Method in class io.github.lucasstarsz.fastj.systems.control.LogicManager
-
Updates the current scene, its behaviors, and listeners.
- update(Display) - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Updates the scene's state.
- update(GameObject) - Method in interface io.github.lucasstarsz.fastj.systems.behaviors.Behavior
-
Updates the assigned
GameObject
. - updateBehaviorListeners() - Method in class io.github.lucasstarsz.fastj.systems.control.Scene
-
Updates all behavior listeners in the scene.
- updateBehaviorListeners(Scene) - Static method in class io.github.lucasstarsz.fastj.systems.behaviors.BehaviorManager
-
Updates the behavior listeners aliased to the specified
Scene
. - updateBehaviors() - Method in class io.github.lucasstarsz.fastj.graphics.game.GameObject
-
Calls the
Behavior.update(io.github.lucasstarsz.fastj.graphics.game.GameObject)
method for each of theGameObject
's behaviors.
V
- V - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "V" key.
- valueOf(String) - Static method in enum io.github.lucasstarsz.fastj.engine.CrashMessages
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.lucasstarsz.fastj.engine.FPSValue
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.lucasstarsz.fastj.engine.HWAccel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.lucasstarsz.fastj.graphics.Boundary
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard.KeyLocation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.lucasstarsz.fastj.systems.input.mouse.MouseAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.lucasstarsz.fastj.systems.input.mouse.MouseButtons
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.lucasstarsz.fastj.engine.CrashMessages
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.lucasstarsz.fastj.engine.FPSValue
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.lucasstarsz.fastj.engine.HWAccel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.lucasstarsz.fastj.graphics.Boundary
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.lucasstarsz.fastj.systems.input.keyboard.Keyboard.KeyLocation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.lucasstarsz.fastj.systems.input.mouse.MouseAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.lucasstarsz.fastj.systems.input.mouse.MouseButtons
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- W - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "W" key.
- warning(T) - Static method in class io.github.lucasstarsz.fastj.engine.FastJEngine
-
Logs the specified warning message, using
System.err.println
. - WHEEL_SCROLL - io.github.lucasstarsz.fastj.systems.input.mouse.MouseAction
-
Mouse action where the scroll wheel was scrolled.
- Windows - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Windows" key.
- writeToPSDF(String, Model2D) - Static method in class io.github.lucasstarsz.fastj.graphics.DrawUtil
-
Writes a
.psdf
file containing the current state of thePolygon2D
s that make up the specifiedModel2D
.
X
- x - Variable in class io.github.lucasstarsz.fastj.math.Point
-
The x value of the
Point
. - x - Variable in class io.github.lucasstarsz.fastj.math.Pointf
-
The x value of the
Pointf
. - X - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "X" key.
Y
- y - Variable in class io.github.lucasstarsz.fastj.math.Point
-
The y value of the
Point
. - y - Variable in class io.github.lucasstarsz.fastj.math.Pointf
-
The y value of the
Pointf
. - Y - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Y" key.
Z
- Z - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "Z" key.
- Zero - Static variable in class io.github.lucasstarsz.fastj.systems.input.keyboard.Keys
-
Keycode constant for the "0" key.
All Classes All Packages