com.codingame.gameengine.module.entities.Curve Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of module-entities Show documentation
Show all versions of module-entities Show documentation
Entity Manager module for the CodinGame engine toolkit. Simplify the management of shapes and drawings.
package com.codingame.gameengine.module.entities;
/**
* The function that will be used to animate the transition of given properties between two states of an Entity
.
*/
public enum Curve {
/**
* The default simple linear interpolation.
*/
LINEAR,
/**
* Don't animate the transition, wait for this commit's frame time for the new value to be used in the display.
*/
NONE,
/**
* Don't animate the transition, immediately use the new value to be used in the display.
*/
IMMEDIATE,
/**
* Start changing slowly and finish fast.
*/
EASE_IN,
/**
* Start changing fast and finish slowly.
*/
EASE_OUT,
/**
* Start changing slowly, accelerate, then slowly again.
*/
EASE_IN_AND_OUT,
/**
* The value quickly increases and wobbles around the final value before settling.
*/
ELASTIC;
static final Curve DEFAULT = Curve.LINEAR;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy