GAF Library
Generic Animation Format
Main Page
Classes
Files
File List
All
Classes
Functions
Pages
GAFDelegates.h
1
#pragma once
2
3
class
GAFAnimatedObject
;
4
class
GAFSprite
;
5
class
GAFAnimation
;
6
7
class
GAFSequenceDelegate
8
{
9
public
:
10
virtual
void
onFinishSequence(
GAFAnimatedObject
*
object
,
const
std::string& sequenceName) = 0;
11
};
12
13
class
GAFAnimationPlaybackDelegate
14
{
15
public
:
16
virtual
void
onAnimationFinishedPlayDelegate(
GAFAnimation
* animation) { }
17
virtual
void
onAnimationStartedNextLoopDelegate(
GAFAnimation
* animation) { }
18
};
19
20
class
GAFTextureLoadDelegate
21
{
22
public
:
23
24
virtual
void
onTexturePreLoad(std::string& path) = 0;
25
};
26
27
32
33
class
GAFFramePlayedDelegate
34
{
35
public
:
39
40
virtual
void
onFramePlayed
(
GAFAnimatedObject
*
object
,
int
frame) = 0;
41
};
42
43
class
GAFAnimatedObjectControlDelegate
44
{
45
public
:
46
virtual
void
onFrameDisplayed(
GAFAnimatedObject
*
object
,
const
GAFSprite
* subobject) = 0;
47
};
GAFAnimatedObject
Definition:
GAFAnimatedObject.h:33
GAFSprite
Definition:
GAFSprite.h:23
GAFFramePlayedDelegate::onFramePlayed
virtual void onFramePlayed(GAFAnimatedObject *object, int frame)=0
GAFAnimatedObjectControlDelegate
Definition:
GAFDelegates.h:43
GAFFramePlayedDelegate
Definition:
GAFDelegates.h:33
GAFAnimationPlaybackDelegate
Definition:
GAFDelegates.h:13
GAFTextureLoadDelegate
Definition:
GAFDelegates.h:20
GAFSequenceDelegate
Definition:
GAFDelegates.h:7
GAFAnimation
Definition:
GAFAnimation.h:19
Generated on Wed May 28 2014 16:38:50 for GAF Library by
1.8.6