ScummVM API documentation
Ultima::Ultima4::TileAnimContext Class Referenceabstract

#include <tileanim.h>

Inheritance diagram for Ultima::Ultima4::TileAnimContext:
Ultima::Ultima4::TileAnimFrameContext Ultima::Ultima4::TileAnimPlayerDirContext

Public Types

enum  Type { FRAME, DIR }
 
typedef Std::vector< TileAnimTransform * > TileAnimTransformList
 

Public Member Functions

void add (TileAnimTransform *)
 
virtual bool isInContext (Tile *t, MapTile &mapTile, Direction d)=0
 
TileAnimTransformListgetTransforms ()
 

Static Public Member Functions

static TileAnimContextcreate (const ConfigElement &config)
 

Detailed Description

A context in which to perform the animation

Member Function Documentation

◆ create()

static TileAnimContext* Ultima::Ultima4::TileAnimContext::create ( const ConfigElement config)
static

Creates a new animation context which controls if animation transforms are performed or not

◆ add()

void Ultima::Ultima4::TileAnimContext::add ( TileAnimTransform )

Adds a tile transform to the context

◆ getTransforms()

TileAnimTransformList& Ultima::Ultima4::TileAnimContext::getTransforms ( )
inline

< Returns a list of transformations under the context.


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