Game Develop C++ Platform: SpriteObject Class Reference

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
Public Member Functions | List of all members
SpriteObject Class Reference
Built-in Sprite Object extension

Internal built-in Sprite object. More...

`#include <SpriteObject.h>`

Inheritance diagram for SpriteObject:
[legend]
Collaboration diagram for SpriteObject:
[legend]

## Public Member Functions

| SpriteObject (std::string name_)
virtual gd::Object * | Clone () const
Animations
Methods related to animations management
const Animation & | GetAnimation (unsigned int nb) const
Animation & | GetAnimation (unsigned int nb)
unsigned int | GetAnimationCount () const
void | AddAnimation (const Animation &animation)
bool | RemoveAnimation (unsigned int nb)
void | RemoveAllAnimation ()
bool | HasNoAnimations () const
const std::vector < AnimationProxy > & | GetAllAnimations () const

## Detailed Description

Internal built-in Sprite object.

Sprite object is an object composed of animations, containing directions with images.

See Also
  Animation
  Direction
  Sprite

## Member Function Documentation

void SpriteObject::AddAnimation | ( | const Animation & | animation) |  |

Add an animation

bool SpriteObject::RemoveAnimation | ( | unsigned int | nb) |  |

Remove an animation from the object

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

- SpriteObject.h
- SpriteObject.cpp