Refactored TurnTest.
[tagua/yd.git] / src / fwd.h
blob3f066af5923076c3426b4c49b3c05bed358104c1
1 /*
2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@sns.it>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 */
11 #ifndef FWD_H
12 #define FWD_H
14 #include <boost/shared_ptr.hpp>
16 typedef boost::shared_ptr<class AbstractMove> MovePtr;
17 typedef boost::shared_ptr<class AbstractPosition> PositionPtr;
18 typedef boost::shared_ptr<class AbstractPool> PoolPtr;
19 typedef boost::shared_ptr<class AbstractPiece> PiecePtr;
20 typedef boost::shared_ptr<class AbstractAnimator> AnimatorPtr;
21 typedef boost::shared_ptr<class ICSAPI> ICSAPIPtr;
22 typedef boost::shared_ptr<class VariantInfo> VariantPtr;
24 template <typename Variant> class UnwrappedGraphicalAPI;
25 template <typename Variant>
26 struct UnwrappedGraphicalAPIPtr {
27 typedef boost::shared_ptr<UnwrappedGraphicalAPI<Variant> > type;
30 typedef boost::shared_ptr<class Animation> AnimationPtr;
31 typedef boost::shared_ptr<class AnimationGroup> AnimationGroupPtr;
32 typedef boost::shared_ptr<class DropAnimation> DropAnimationPtr;
33 typedef boost::shared_ptr<class PromotionAnimation> PromotionAnimationPtr;
34 typedef boost::shared_ptr<class CaptureAnimation> CaptureAnimationPtr;
35 typedef boost::shared_ptr<class InstantAnimation> InstantAnimationPtr;
36 typedef boost::shared_ptr<class DelayAnimation> DelayAnimationPtr;
37 typedef boost::shared_ptr<class MovementAnimation> MovementAnimationPtr;
38 typedef boost::shared_ptr<class FadeAnimation> FadeAnimationPtr;
39 typedef boost::shared_ptr<class GrowAnimation> GrowAnimationPtr;
40 typedef boost::shared_ptr<class ExplodeAnimation> ExplodeAnimationPtr;
41 typedef boost::shared_ptr<class TeleportAnimation> TeleportAnimationPtr;
42 typedef boost::shared_ptr<class CrossFadingAnimation> CrossFadingAnimationPtr;
44 namespace Animate { class Scheme; }
45 typedef boost::shared_ptr<Animate::Scheme> SchemePtr;
47 typedef boost::shared_ptr<class Sprite> SpritePtr;
49 typedef boost::shared_ptr<class Game> GamePtr;
51 #endif //FWD_H