ManaPlus
Data Fields
Frame Struct Reference

#include <frame.h>

Data Fields

Imageimage
 
int delay
 
int offsetX
 
int offsetY
 
int rand
 
FrameTypeT type
 
std::string nextAction
 

Detailed Description

A single frame in an animation, with a delay and an offset.

Definition at line 38 of file frame.h.

Field Documentation

◆ delay

int Frame::delay

Definition at line 43 of file frame.h.

Referenced by SimpleAnimation::update().

◆ image

Image* Frame::image

◆ nextAction

std::string Frame::nextAction

Definition at line 48 of file frame.h.

Referenced by Animation::calcMemoryLocal().

◆ offsetX

int Frame::offsetX

Definition at line 44 of file frame.h.

Referenced by SimpleAnimation::draw().

◆ offsetY

int Frame::offsetY

Definition at line 45 of file frame.h.

Referenced by SimpleAnimation::draw().

◆ rand

int Frame::rand

Definition at line 46 of file frame.h.

◆ type

FrameTypeT Frame::type

Definition at line 47 of file frame.h.


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