Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- SaveManager - Class in com.xebisco.yield.save
- SaveManager() - Constructor for class com.xebisco.yield.save.SaveManager
- SaveObject - Class in com.xebisco.yield.save
- SaveObject(String) - Constructor for class com.xebisco.yield.save.SaveObject
- saveSlot(byte, SaveObject) - Static method in class com.xebisco.yield.save.SaveManager
- scale() - Method in class com.xebisco.yield.Transform2D
-
Returns the scale of the object.
- scale(double, double) - Method in class com.xebisco.yield.Transform2D
-
Scales the
Transform2Dobject by a given x and y value. - scale(Vector2D) - Method in class com.xebisco.yield.Transform2D
-
Scales the
Transform2Dobject using aVector2D. - scene() - Method in class com.xebisco.yield.Application
-
Gets the current scene.
- scene() - Method in class com.xebisco.yield.SystemBehavior
-
Returns the current scene reference.
- Scene - Class in com.xebisco.yield
-
The
Sceneclass represents a scene in a 2D environment. - Scene(Application) - Constructor for class com.xebisco.yield.Scene
-
Constructs a new
Scenewith the given application. - second() - Method in record class com.xebisco.yield.utils.Pair
-
Returns the value of the
secondrecord component. - set(double, double) - Method in class com.xebisco.yield.Vector2D
-
Sets the x and y coordinates of this
Vector2Dinstance. - set(Vector2D) - Method in class com.xebisco.yield.Vector2D
- setActualFrame(int) - Method in class com.xebisco.yield.AnimationPlayer
-
Sets the index of the current frame in the animation.
- setAllowSleep(boolean) - Method in class com.xebisco.yield.physics.PhysicsBody
- setAlpha(double) - Method in class com.xebisco.yield.Color
-
Setter of the alpha value of this Color.
- setAlpha(double) - Method in class com.xebisco.yield.ImmutableColor
- setAnchor(ObjectAnchor) - Method in class com.xebisco.yield.Transform2D
-
Sets the object's anchor.
- setAngularDamping(double) - Method in class com.xebisco.yield.physics.PhysicsBody
- setAnimation(Animation) - Method in class com.xebisco.yield.AnimationPlayer
-
Sets the current animation to the given animation.
- setApplication(Application) - Method in class com.xebisco.yield.ChangeSceneTransition
- setApplications(List<Application>) - Method in class com.xebisco.yield.manager.ApplicationManager
-
Sets the list of applications managed by this manager.
- setAudioClip(FileInput) - Method in class com.xebisco.yield.AudioPlayer
-
This function sets the audio clip and unloads any previous audio clip if it exists.
- setAxisMap(Map<String, Axis>) - Method in class com.xebisco.yield.Application
-
Sets the map of axis configurations.
- setB2Body(Body) - Method in class com.xebisco.yield.physics.PhysicsBody
- setB2Joint(Joint) - Method in class com.xebisco.yield.physics.joints.Joint2D
- setBackGroundColor(Color) - Method in class com.xebisco.yield.Scene
-
Sets the background color of the scene.
- setBlue(double) - Method in class com.xebisco.yield.Color
-
Setter of the blue value of this Color.
- setBlue(double) - Method in class com.xebisco.yield.ImmutableColor
- setBody1(PhysicsBody) - Method in class com.xebisco.yield.physics.joints.Joint2D
- setBody2(PhysicsBody) - Method in class com.xebisco.yield.physics.joints.Joint2D
- setBullet(boolean) - Method in class com.xebisco.yield.physics.PhysicsBody
- setCamera(Transform2D) - Method in interface com.xebisco.yield.manager.GraphicsManager
-
The function sets the position of the camera in a 2D space.
- setClipRef(Object) - Method in class com.xebisco.yield.AudioPlayer
-
This function sets the value of the clipRef variable.
- setCollideConnected(boolean) - Method in class com.xebisco.yield.physics.joints.Joint2D
- setCollisionMask(int) - Method in class com.xebisco.yield.physics.colliders.Collider2D
- setColor(Color) - Method in class com.xebisco.yield.RectangleMesh
-
Sets the color of the rectangle mesh.
- setColor(Color) - Method in class com.xebisco.yield.rendering.Paint
-
Sets the color of the object to be drawn.
- setColor(Color) - Method in class com.xebisco.yield.TextMesh
-
Sets the color of the
TextMesh. - setContents(String) - Method in class com.xebisco.yield.TextMesh
-
Sets the text contents of the
TextMesh. - setDampingRatio(double) - Method in class com.xebisco.yield.physics.joints.DistanceJoint2D
- setDefaultFont(Font) - Method in class com.xebisco.yield.Application
-
Sets the default font.
- setDefaultTexture(Texture) - Method in class com.xebisco.yield.Application
-
Sets the default texture.
- setDelay(double) - Method in class com.xebisco.yield.Animation
-
Sets the delay between frames in seconds.
- setDeltaTime(double) - Method in class com.xebisco.yield.ChangeSceneTransition
- setDeltaTime(double) - Method in class com.xebisco.yield.ContextTime
-
Sets the delta time.
- setDensity(double) - Method in class com.xebisco.yield.physics.colliders.Collider2D
- setDisposeWhenEmpty(boolean) - Method in class com.xebisco.yield.manager.ApplicationManager
-
Sets the flag indicating whether to dispose of the manager when there are no more applications.
- setDrawObj(Object) - Method in class com.xebisco.yield.rendering.Paint
-
Sets the object reference to be drawn.
- setEnableLimit(boolean) - Method in class com.xebisco.yield.physics.joints.RevoluteJoint2D
- setEnableMotor(boolean) - Method in class com.xebisco.yield.physics.joints.RevoluteJoint2D
- setEntities(List<Entity2D>) - Method in class com.xebisco.yield.Entity2DContainer
-
Sets the list of entities in the container.
- setEntity(Entity2D) - Method in class com.xebisco.yield.ComponentBehavior
-
Sets the entity this behavior is attached to.
- setExcludedMasks(int[]) - Method in class com.xebisco.yield.physics.colliders.Collider2D
- setFinished(boolean) - Method in class com.xebisco.yield.ChangeSceneTransition
- setFixedRotation(boolean) - Method in class com.xebisco.yield.physics.PhysicsBody
- setFont(Font) - Method in class com.xebisco.yield.rendering.Paint
-
Sets the font to be used for the text.
- setFrames(int) - Method in class com.xebisco.yield.ChangeSceneTransition
- setFrames(AbstractTexture[]) - Method in class com.xebisco.yield.Animation
-
Sets the frames of the animation.
- setFrequency(double) - Method in class com.xebisco.yield.physics.joints.DistanceJoint2D
- setFriction(double) - Method in class com.xebisco.yield.physics.colliders.Collider2D
- setFullscreen(boolean) - Method in class com.xebisco.yield.PlatformInit
-
Sets whether the window should be in fullscreen mode.
- setGain(AudioPlayer, double) - Method in interface com.xebisco.yield.manager.AudioManager
-
The function sets the gain of an audio player.
- setGravity(Vector2D) - Method in class com.xebisco.yield.physics.PhysicsSystem
- setGravityScale(double) - Method in class com.xebisco.yield.physics.PhysicsBody
- setGreen(double) - Method in class com.xebisco.yield.Color
-
Setter of the green value of this Color.
- setGreen(double) - Method in class com.xebisco.yield.ImmutableColor
- setHasImage(boolean) - Method in class com.xebisco.yield.rendering.Paint
-
Sets whether an image should be included in the object to be drawn.
- setImageRef(Object) - Method in class com.xebisco.yield.AbstractTexture
-
Sets the reference to the image object.
- setImageRef(Object) - Method in class com.xebisco.yield.texture.SpritesheetTexture
-
Sets the image reference for this texture.
- setInvertZIndex(boolean) - Method in class com.xebisco.yield.PlatformInit
-
Sets whether the Z-index should be inverted.
- setLinearDamping(double) - Method in class com.xebisco.yield.physics.PhysicsBody
- setLinearVelocity(Vector2D) - Method in class com.xebisco.yield.physics.PhysicsBody
- setLoop(boolean) - Method in class com.xebisco.yield.Animation
-
Sets whether the animation should loop.
- setLowerAngle(double) - Method in class com.xebisco.yield.physics.joints.RevoluteJoint2D
- setManagerContext(Context) - Method in class com.xebisco.yield.manager.ApplicationManager
-
Sets the context in which this manager operates.
- setMaxMotorTorque(double) - Method in class com.xebisco.yield.physics.joints.RevoluteJoint2D
- setModifiedDate(Date) - Method in class com.xebisco.yield.save.SaveObject
- setMotorSpeed(double) - Method in class com.xebisco.yield.physics.joints.RevoluteJoint2D
- setObject(Serializable) - Method in class com.xebisco.yield.save.SaveObject
- setPan(double) - Method in class com.xebisco.yield.AudioPlayer
-
This function sets the pan of an audio object and throws an exception if the pan is not within the valid range.
- setPan(AudioPlayer, double) - Method in interface com.xebisco.yield.manager.AudioManager
-
The setPan function sets the stereo panning of an audio player.
- setPassedTime(double) - Method in class com.xebisco.yield.ChangeSceneTransition
- setPoint1(Vector2D) - Method in class com.xebisco.yield.physics.colliders.EdgeCollider2D
- setPoint2(Vector2D) - Method in class com.xebisco.yield.physics.colliders.EdgeCollider2D
- setPosition(double) - Method in class com.xebisco.yield.AudioPlayer
-
This function sets the position of the audio player using the application's audio manager.
- setPosition(AudioPlayer, double) - Method in interface com.xebisco.yield.manager.AudioManager
-
The function sets the position of an audio player.
- setPositionIterations(int) - Method in class com.xebisco.yield.physics.PhysicsSystem
- setPpm(double) - Method in class com.xebisco.yield.physics.PhysicsSystem
- setRadius(double) - Method in class com.xebisco.yield.physics.colliders.CircleCollider2D
- setRectSize(Vector2D) - Method in class com.xebisco.yield.rendering.Paint
-
Sets the size of the rectangle in which the object will be drawn.
- setRed(double) - Method in class com.xebisco.yield.Color
-
Setter of the red value of this Color.
- setRed(double) - Method in class com.xebisco.yield.ImmutableColor
- setRenderIndex(int) - Method in class com.xebisco.yield.ComponentBehavior
-
Sets the render index of the entity this behavior is attached to.
- setRenderIndex(int) - Method in class com.xebisco.yield.Entity2D
-
Sets the renderIndex of this entity.
- setRestitution(double) - Method in class com.xebisco.yield.physics.colliders.Collider2D
- setScene(Scene) - Method in class com.xebisco.yield.Application
-
Sets the current scene and disposes of any previous scene and its entities and systems.
- setScene(Scene) - Method in class com.xebisco.yield.SystemBehavior
-
This function sets the scene for this
SystemBehavior. - setSize(Vector2D) - Method in class com.xebisco.yield.RectangleMesh
-
Sets the size of the rectangle mesh.
- setStretchViewport(boolean) - Method in class com.xebisco.yield.PlatformInit
-
Sets whether the viewport should be stretched to fit the window.
- setSystems(Set<SystemBehavior>) - Method in class com.xebisco.yield.Scene
-
Sets the
SystemBehaviorobjects in the scene. - setTargetFPS(double) - Method in class com.xebisco.yield.ContextTime
-
Sets the target frames per second (FPS) for this context.
- setTargetSleepTime(long) - Method in class com.xebisco.yield.ContextTime
-
Sets the target sleep time.
- setText(String) - Method in class com.xebisco.yield.rendering.Paint
-
Sets the text to be displayed.
- setTexture(AbstractTexture) - Method in class com.xebisco.yield.texture.TexturedRectangleMesh
-
Sets the texture applied to the mesh.
- setTimeScale(double) - Method in class com.xebisco.yield.ContextTime
-
Sets the timescale.
- setTimeSinceStart(long) - Method in class com.xebisco.yield.ContextTime
-
Sets the time since the start of the context.
- setTitle(String) - Method in class com.xebisco.yield.PlatformInit
-
Sets the initial window title.
- setToChange(double) - Method in class com.xebisco.yield.AnimationPlayer
-
Sets the time since the last frame change.
- setToSwitchAnimation(Animation) - Method in class com.xebisco.yield.AnimationPlayer
-
Sets the animation that will be played after the current animation finishes.
- setTransformation(Transform2D) - Method in class com.xebisco.yield.rendering.Paint
-
Sets the transformation to be applied to the object before drawing.
- setType(BodyType) - Method in class com.xebisco.yield.physics.PhysicsBody
- setUndecorated(boolean) - Method in class com.xebisco.yield.PlatformInit
-
Sets whether the window should be undecorated.
- setUpperAngle(double) - Method in class com.xebisco.yield.physics.joints.RevoluteJoint2D
- setVelocityIterations(int) - Method in class com.xebisco.yield.physics.PhysicsSystem
- setVerticalSync(boolean) - Method in class com.xebisco.yield.PlatformInit
-
Sets whether vertical synchronization should be enabled.
- setViewportSize(Vector2D) - Method in class com.xebisco.yield.PlatformInit
-
Sets the initial viewport size.
- setVisible(boolean) - Method in class com.xebisco.yield.Entity2D
-
Sets the visibility of this entity.
- setWindowIconPath(String) - Method in class com.xebisco.yield.PlatformInit
-
Sets the path to the window icon.
- setWindowSize(Vector2D) - Method in class com.xebisco.yield.PlatformInit
-
Sets the initial window size.
- setX(double) - Method in class com.xebisco.yield.ImmutableVector2D
- setX(double) - Method in class com.xebisco.yield.Vector2D
-
This function sets the value of the x variable to the value of the x parameter.
- setY(double) - Method in class com.xebisco.yield.ImmutableVector2D
- setY(double) - Method in class com.xebisco.yield.Vector2D
-
This function sets the y coordinate of the point to the value of the parameter y.
- setzRotation(double) - Method in class com.xebisco.yield.Transform2D
-
Sets the z-rotation of the object.
- shouldClose() - Method in interface com.xebisco.yield.manager.GraphicsManager
-
Returns true if the user has requested that the application close.
- size() - Method in class com.xebisco.yield.font.Font
-
Returns the size of the font.
- size() - Method in class com.xebisco.yield.RectangleMesh
-
Gets the size of the rectangle mesh.
- size() - Method in class com.xebisco.yield.texture.SpritesheetTexture
-
Returns the size of the spritesheet texture.
- size() - Method in class com.xebisco.yield.texture.Texture
-
Returns the size of the spritesheet texture.
- SOUTH - Enum constant in enum class com.xebisco.yield.ObjectAnchor
-
Represents the south side of an object.
- SOUTHEAST - Enum constant in enum class com.xebisco.yield.ObjectAnchor
-
Represents the southeast corner of an object.
- SOUTHWEST - Enum constant in enum class com.xebisco.yield.ObjectAnchor
-
Represents the southwest corner of an object.
- SpritesheetTexture - Class in com.xebisco.yield.texture
-
A
SpritesheetTexturerepresents a texture loaded from a spritesheet. - SpritesheetTexture(String, TextureManager, FileIOManager) - Constructor for class com.xebisco.yield.texture.SpritesheetTexture
-
Constructs a
SpritesheetTexturefrom a given path andTextureManager. - SQUARE - Enum constant in enum class com.xebisco.yield.rendering.Form
-
Represents a square form.
- start(Color) - Method in interface com.xebisco.yield.manager.GraphicsManager
- start(Entity2D) - Method in interface com.xebisco.yield.EntityStarter
-
The function
start(Entity2D e)is a method that takes an object of typeEntity2Das a parameter. - STATIC - Enum constant in enum class com.xebisco.yield.physics.BodyType
- stopUpdatingScene() - Method in class com.xebisco.yield.ChangeSceneTransition
- storeFileIds() - Method in class com.xebisco.yield.assets.compressing.AssetsCompressing
- stretchViewport() - Method in class com.xebisco.yield.PlatformInit
-
Gets whether the viewport should be stretched to fit the window.
- subtract(Vector2D) - Method in class com.xebisco.yield.Vector2D
- subtractLocal(Vector2D) - Method in class com.xebisco.yield.Vector2D
- sum(Vector2D) - Method in class com.xebisco.yield.Vector2D
- sumLocal(Vector2D) - Method in class com.xebisco.yield.Vector2D
- system(Class<T>) - Method in class com.xebisco.yield.Scene
-
Returns the first found
SystemBehaviorobject from the scene. - system(Class<T>, int) - Method in class com.xebisco.yield.Scene
-
Returns a specific
SystemBehaviorobject from the scene. - SystemBehavior - Class in com.xebisco.yield
-
An abstract class representing a system.
- SystemBehavior() - Constructor for class com.xebisco.yield.SystemBehavior
- systems() - Method in class com.xebisco.yield.Scene
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form