Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
Loading...
Searching...
No Matches
bomberman::Animation Class Reference

Animation class. More...

#include <Animation.h>

Public Member Functions

void addAnimationEntity (AnimationEntity entity)
 add entity
 
void setSprite (Sprite *sprite)
 Set the Sprite to animation for clipping.
 
void setAnimationInterval (const unsigned int timeInMs)
 Set the Animation Interval to change clipping.
 
void play ()
 play animation
 
void pause ()
 pause animation
 
void reset ()
 reset animation and pause
 
void update (const unsigned int delta)
 

Detailed Description

Animation class.

Member Function Documentation

◆ addAnimationEntity()

void bomberman::Animation::addAnimationEntity ( AnimationEntity  entity)

add entity

Parameters
entity

◆ setAnimationInterval()

void bomberman::Animation::setAnimationInterval ( const unsigned int  timeInMs)

Set the Animation Interval to change clipping.

Parameters
timeInMs- time in ms

◆ setSprite()

void bomberman::Animation::setSprite ( Sprite sprite)

Set the Sprite to animation for clipping.

Parameters
sprite- sprite

◆ update()

void bomberman::Animation::update ( const unsigned int  delta)

@briefupdate animation

Parameters
delta

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