Gorgon Game Engine
Gorgon::Animation Namespace Reference

This namespace contains animation related functionality. More...

Classes

class  Base
 This is the base class for all animations. More...
 
class  basic_Instance
 This class allows storing an animation instance regarless of its underlying type as a value. More...
 
class  basic_InstanceInjection
 Specializing this class allows code injection to animation instances. More...
 
class  basic_InstanceInjection< Graphics::RectangularAnimation >
 
class  basic_Storage
 This class stores animations as a part of itself so that it can be moved around as a value rather than a reference. More...
 
class  basic_StorageInjection
 Specializing this class allows code injection to animation storages. More...
 
class  basic_StorageInjection< Graphics::AnimationProvider >
 Injects additional functionality for AnimationProviders. More...
 
class  basic_StorageInjection< Graphics::DiscreteAnimationProvider >
 Injects additional functionality for RectangularAnimationProviders. More...
 
class  basic_StorageInjection< Graphics::RectangularAnimationProvider >
 Injects additional functionality for RectangularAnimationProviders. More...
 
class  ControlledTimer
 This class is a timer that has its progression strictly controlled. More...
 
class  Controller
 This class allows finer control for the animations, allowing loop, stopping at the end, events, speed and direction control. More...
 
class  ControllerBase
 Controllers are required to progress animations. More...
 
class  DiscreteAnimation
 
class  DiscreteProvider
 Provides a discreet animation that is made out of frames. More...
 
class  Frame
 This is the base class for a single frame in a discreet animation. More...
 
class  Governor
 This class governs the progress of animations. More...
 
class  Provider
 This interface marks a class as animation provider. More...
 
class  Timer
 This class is the most basic controller and does not support any operations. More...
 

Typedefs

using Instance = basic_Instance< const Base >
 Basic animation storage, can store all types of animation and can be moved around as a value. More...
 
using Storage = basic_Storage< const Provider >
 Basic animation storage, can store all types of animation and can be moved around as a value. More...
 

Functions

void Animate ()
 
template<class Target_ , class Original_ >
basic_Instance< Target_ > AnimationCast (basic_Instance< Original_ > &&original)
 Moves one type of animation into another. More...
 
template<class Target_ , class Original_ >
basic_Storage< Target_ > AnimationCast (basic_Storage< Original_ > &&original)
 Moves one type of animation into another. More...
 

Variables

Utils::Logger log
 

Detailed Description

This namespace contains animation related functionality.

Typedef Documentation

◆ Instance

using Instance = basic_Instance<const Base>

Basic animation storage, can store all types of animation and can be moved around as a value.

◆ Storage

using Storage = basic_Storage<const Provider>

Basic animation storage, can store all types of animation and can be moved around as a value.

Function Documentation

◆ Animate()

void Animate ( )

◆ AnimationCast() [1/2]

basic_Instance<Target_> Gorgon::Animation::AnimationCast ( basic_Instance< Original_ > &&  original)

Moves one type of animation into another.

References basic_Instance< A_ >::IsOwner(), and basic_Instance< A_ >::SetAnimation().

◆ AnimationCast() [2/2]

basic_Storage<Target_> Gorgon::Animation::AnimationCast ( basic_Storage< Original_ > &&  original)

Moves one type of animation into another.

References basic_Storage< A_ >::IsOwner(), and basic_Storage< A_ >::SetAnimation().

Variable Documentation

◆ log