Gorgon Game Engine
AnimationStorage.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Base.h"
4 #include "../Graphics/Animations.h"
5 
6 namespace Gorgon { namespace Resource {
7 
8  class Writer;
9 
12  class AnimationStorage : public virtual Base {
13  public:
16  return animmoveout();
17  }
18 
19  protected:
21  };
22 
23  //these functions are defined in Resource.cpp
24 
27  void SaveAnimation(Writer &writer, const Graphics::RectangularAnimationProvider &object);
28 
31  void SaveAnimation(Writer &writer, const Graphics::RectangularAnimationProvider *object);
32 
33 }}
Gorgon::Animation::basic_Storage
This class stores animations as a part of itself so that it can be moved around as a value rather tha...
Definition: Storage.h:21
Base.h
Gorgon::Resource::SaveAnimation
void SaveAnimation(Writer &writer, const Graphics::RectangularAnimationProvider &object)
Saves a given generic rectangular animation as resource.
Definition: Resource.cpp:22
Gorgon::Resource::AnimationStorage::animmoveout
virtual Graphics::RectangularAnimationStorage animmoveout()=0
Gorgon
Root namespace for Gorgon Game Engine.
Definition: Any.h:19
Gorgon::Resource::AnimationStorage
This class denotes the resource is an image animation storage.
Definition: AnimationStorage.h:12
Gorgon::Resource::Base
This class is the base for all Gorgon Resources.
Definition: Base.h:20
Gorgon::Resource::Writer
This class allows resource objects to save their data to a stream.
Definition: Writer.h:59
Gorgon::Graphics::RectangularAnimationProvider
This class provides rectangular animations.
Definition: Animations.h:48
Gorgon::Resource::AnimationStorage::MoveOut
Graphics::RectangularAnimationStorage MoveOut()
Moves this animation out as a generic value type animation.
Definition: AnimationStorage.h:15