Last change
on this file since 3795 was
3795,
checked in by bensch, 19 years ago
|
orxonox/trunk: moved some functions around in the Animation-classes
|
File size:
781 bytes
|
Line | |
---|
1 | /* |
---|
2 | orxonox - the future of 3D-vertical-scrollers |
---|
3 | |
---|
4 | Copyright (C) 2004 orx |
---|
5 | |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2, or (at your option) |
---|
9 | any later version. |
---|
10 | |
---|
11 | ### File Specific: |
---|
12 | main-programmer: Benjamin Grauer |
---|
13 | co-programmer: ... |
---|
14 | */ |
---|
15 | |
---|
16 | |
---|
17 | #include "animation.h" |
---|
18 | #include "debug.h" |
---|
19 | #include "list.h" |
---|
20 | |
---|
21 | |
---|
22 | Anim::Anim(void) |
---|
23 | { |
---|
24 | // initialize a beginning KeyFrame, that will be deleted afterwards |
---|
25 | this->bHasKeys = false; |
---|
26 | |
---|
27 | // setting default values |
---|
28 | this->localTime = 0.0; |
---|
29 | this->bRunning = true; |
---|
30 | } |
---|
31 | |
---|
32 | |
---|
33 | Anim::~Anim(void) |
---|
34 | { |
---|
35 | } |
---|
36 | |
---|
37 | void Anim::setInfinity(ANIM_INFINITY postInfinity) |
---|
38 | { |
---|
39 | this->postInfinity = postInfinity; |
---|
40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.