_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | Public Attributes | List of all members
CAnimation Class Referenceabstract

#include <animation.h>

Inheritance diagram for CAnimation:
CAnimation_Attack CAnimation_Die CAnimation_ExactFrame CAnimation_Frame CAnimation_Goto CAnimation_IfVar CAnimation_Label CAnimation_LuaCallback CAnimation_Move CAnimation_RandomGoto CAnimation_RandomRotate CAnimation_RandomSound CAnimation_RandomWait CAnimation_Rotate CAnimation_SetPlayerVar CAnimation_SetVar CAnimation_Sound CAnimation_SpawnMissile CAnimation_SpawnUnit CAnimation_Unbreakable CAnimation_Wait CAnimation_Wiggle

Public Member Functions

 CAnimation (AnimationType type)
 
virtual ~CAnimation ()
 
virtual void Action (CUnit &unit, int &move, int scale) const =0
 
virtual void Init (const char *s, lua_State *l=NULL)
 

Public Attributes

const AnimationType Type
 
CAnimationNext
 

Constructor & Destructor Documentation

◆ CAnimation()

CAnimation::CAnimation ( AnimationType  type)
inline

◆ ~CAnimation()

virtual CAnimation::~CAnimation ( )
inlinevirtual

Member Function Documentation

◆ Action()

virtual void CAnimation::Action ( CUnit unit,
int &  move,
int  scale 
) const
pure virtual

◆ Init()

virtual void CAnimation::Init ( const char *  s,
lua_State *  l = NULL 
)
inlinevirtual

Member Data Documentation

◆ Next

CAnimation* CAnimation::Next

◆ Type

const AnimationType CAnimation::Type

The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.