Gorgon Game Engine
Frame Class Referenceabstract

This is the base class for a single frame in a discreet animation. More...

Inheritance diagram for Frame:
[legend]

Public Member Functions

virtual ~Frame ()
 
virtual unsigned GetDuration () const =0
 Returns the duration of this frame. More...
 
virtual unsigned GetEnd () const
 Returns the ending time of this frame. More...
 
virtual unsigned GetStart () const =0
 Returns the starting time of this frame. More...
 
virtual bool IsIn (unsigned time) const
 Returns if the given time is within this frame. More...
 

Detailed Description

This is the base class for a single frame in a discreet animation.

Constructor & Destructor Documentation

◆ ~Frame()

virtual ~Frame ( )
virtual

Member Function Documentation

◆ GetDuration()

virtual unsigned GetDuration ( ) const
pure virtual

Returns the duration of this frame.

Implemented in basic_AnimationFrame< T_ >.

◆ GetEnd()

virtual unsigned GetEnd ( ) const
virtual

Returns the ending time of this frame.

Reimplemented in basic_AnimationFrame< T_ >.

References Frame::GetDuration(), and Frame::GetStart().

◆ GetStart()

virtual unsigned GetStart ( ) const
pure virtual

Returns the starting time of this frame.

Implemented in basic_AnimationFrame< T_ >.

◆ IsIn()

virtual bool IsIn ( unsigned  time) const
virtual

Returns if the given time is within this frame.

Reimplemented in basic_AnimationFrame< T_ >.

References Frame::GetEnd(), and Frame::GetStart().


The documentation for this class was generated from the following file: