Crossfire Server  1.75.0
AnimationWriter.h
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 2020-2021 the Crossfire Development Team
5  *
6  * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7  * welcome to redistribute it under certain conditions. For details, please
8  * see COPYING and LICENSE.
9  *
10  * The authors can be reached via e-mail at <crossfire@metalforge.org>.
11  */
12 
13 #ifndef ANIMATIONWRITER_H
14 #define ANIMATIONWRITER_H
15 
16 #include "global.h"
17 #include "AssetWriter.h"
18 
19 class AnimationWriter : public AssetWriter<Animations> {
20  public:
21  virtual void write(const Animations *anim, StringBuffer *buf);
22 };
23 
24 #endif /* ANIMATIONWRITER_H */
25 
This represents one animation.
Definition: face.h:25
Global type definitions and header inclusions.
virtual void write(const Animations *anim, StringBuffer *buf)
Write the specified asset to the StringBuffer.
Abstract writer of an asset to a StringBuffer.
Definition: AssetWriter.h:22
StringBuffer * buf
Definition: readable.cpp:1563
A buffer that will be expanded as content is added to it.