EventAnimation Class Reference

This class will controll an animation. More...

#include <EventAnimation.h>

Inherits EventInterface.

Inheritance diagram for EventAnimation:

Inheritance graph
[legend]
Collaboration diagram for EventAnimation:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EventAnimation (Texture *p_texture, int p_delta)
 Standard constructor.
virtual ~EventAnimation ()
 Standard desstructor.
virtual int compute (Level *p_level)
 Computes the logic for the event.

Public Attributes

Texturetexture
 Holds the texture that will be processed.
int delta
 Holds the delta for seqeunze processing.

Detailed Description

This class will controll an animation.

Definition at line 31 of file EventAnimation.h.


Constructor & Destructor Documentation

EventAnimation::EventAnimation ( Texture p_texture,
int  p_delta 
)

Standard constructor.

Parameters:
p_texture Animation to control.
p_delta The amount of pictures to change.

Definition at line 25 of file EventAnimation.cpp.

References delta, and texture.

EventAnimation::~EventAnimation (  )  [virtual]

Standard desstructor.

Definition at line 31 of file EventAnimation.cpp.


Member Function Documentation

int EventAnimation::compute ( Level p_level  )  [virtual]

Computes the logic for the event.

Parameters:
p_level Pointer to the Level.

Implements EventInterface.

Definition at line 35 of file EventAnimation.cpp.

References delta, Texture::sequence, and texture.


Member Data Documentation

Texture* EventAnimation::texture

Holds the texture that will be processed.

Definition at line 57 of file EventAnimation.h.

Referenced by compute(), and EventAnimation().

int EventAnimation::delta

Holds the delta for seqeunze processing.

Definition at line 62 of file EventAnimation.h.

Referenced by compute(), and EventAnimation().


The documentation for this class was generated from the following files:
Generated on Tue Jul 17 22:02:22 2007 for C0re by  doxygen 1.5.2