AnimatedGraphicsObject

AnimatedGraphicsObject is a type in the Graphics Namespace. It implements the IGraphicsObject interface. It is a graphics object that can be drawn to the screen. It has multiple textures, which are drawn in sequential order to the screen.

The time it takes for every texture to be cycled through is known as the animation cycle length, and is specified in the configuration format. The frame time is defined as the number of rendered frames that each texture is drawn for, and is calculated using the animation cycle length.

These objects can be set to run once. Such objects will cycle through and draw their textures once, and will then draw the last frame until reset.

IsRunOnce
Defines whether this object will cycle through its textures once. This setting can be specified in the configuration file.

IsRunning
If true, the animated object will step through the frames of the animation. This is set to false