|
R-Type
Distributed multiplayer game engine in C++
|
#include <functional>#include <initializer_list>#include <unordered_map>#include "../ECS/Components/AnimationSet.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | AnimDB |
Typedefs | |
| using | AnimDB::AnimationFactory = std::function< ecs::AnimationSet()> |
| Factory function type for animation set creation. | |
Functions | |
| ecs::AnimationClip | AnimDB::makeClip (std::initializer_list< ecs::Rectangle > frames, float duration=0.1f, bool loop=true, const std::string &nextClip="") |
| Helper to create animation clips easily. | |
| ecs::AnimationSet | AnimDB::createPlayerAnimations () |
| Create player ship animations. | |
| ecs::AnimationSet | AnimDB::createOrbitalModuleAnimations () |
| Create drone (orbital module) animations. | |
| ecs::AnimationSet | AnimDB::createEnemyBasicAnimations () |
| Create basic enemy animations. | |
| ecs::AnimationSet | AnimDB::createEnemyWalkingAnimations () |
| Create walking enemy animations. | |
| ecs::AnimationSet | AnimDB::createBossBodyAnimations () |
| Create boss body animations. | |
| ecs::AnimationSet | AnimDB::createBossArmAnimations () |
| Create boss arm animations. | |
| ecs::AnimationSet | AnimDB::createPlayerBulletAnimations () |
| Create player bullet animations. | |
| ecs::AnimationSet | AnimDB::createEnemyBulletAnimations () |
| Create enemy bullet animations. | |
| ecs::AnimationSet | AnimDB::getAnimationSet (const std::string &entityType) |
| Get an AnimationSet by entity type. | |
Variables | |
| const std::unordered_map< std::string, AnimationFactory > | AnimDB::FACTORIES |
| Map of entity types to their animation factory functions. | |