Debian Codegraph @

Oodle/src/CEffect.cpp

raw
1 #include "oodle.h"
2
3 CEffect::CEffect(int ticksPerFrame, bool concurrent)
4 : CTimedEvent(ticksPerFrame, concurrent)
5 {
6
7 }
8
9 /*CEffect::CEffect(int ticksPerFrame)
10 : timer(ticksPerFrame), done(false)
11 {
12
13 }
14 */
15
16 /*bool CEffect::updateTime()
17 {
18 return (t.isRinging());
19 //return (SDL_GetTicks() - lastUpdated >= ticksPerFrame);
20 }
21
22 unsigned int CEffect::ticksElapsed()
23 {
24 return (t.getElapsed());
25 }*/
26
27 /*void CEffect::blit(CSurface &dest, int x, int y)
28 {
29 dest.blit(this->fx, x, y);
30 }*/
31
32 /*CSurface& CEffect::getSurface()
33 {
34 return fx;
35 }*/