Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
AnimationClip Struct Reference

Represents an animation clip, which is a sequence of frames. More...

#include <animation.h>

Public Attributes

char * name
 Animation name (e.g., "idle", "walk")
 
AnimationFrame * frames
 Array of frames.
 
int frameCount
 Number of frames.
 
float frameDuration
 Time per frame in seconds.
 
bool looping
 Whether animation should loop.
 

Detailed Description

Represents an animation clip, which is a sequence of frames.

Member Data Documentation

◆ frameCount

int AnimationClip::frameCount

Number of frames.

◆ frameDuration

float AnimationClip::frameDuration

Time per frame in seconds.

◆ frames

AnimationFrame* AnimationClip::frames

Array of frames.

◆ looping

bool AnimationClip::looping

Whether animation should loop.

◆ name

char* AnimationClip::name

Animation name (e.g., "idle", "walk")


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