Last change
on this file since 8531 was
8490,
checked in by patrick, 18 years ago
|
merged the bsp branche back to trunk
|
File size:
906 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: Patrick Boenzli |
---|
13 | co-programmer: |
---|
14 | */ |
---|
15 | |
---|
16 | /*! |
---|
17 | * @file interactive_model.h |
---|
18 | * Definition of an abstract interactive model. |
---|
19 | * it offers a skeletton for choosing animations, ticking the model a.s.o |
---|
20 | */ |
---|
21 | |
---|
22 | #ifndef _INTERACTIVE_MODEL_H |
---|
23 | #define _INTERACTIVE_MODEL_H |
---|
24 | |
---|
25 | #include "model.h" |
---|
26 | #include "vector.h" |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | class InteractiveModel : public Model |
---|
31 | { |
---|
32 | public: |
---|
33 | InteractiveModel(); |
---|
34 | ~InteractiveModel(); |
---|
35 | |
---|
36 | virtual void tick(float) = 0; |
---|
37 | |
---|
38 | virtual void setAnimation(int animNum, int playbackMode = 0) = 0; |
---|
39 | }; |
---|
40 | |
---|
41 | |
---|
42 | #endif /* _INTERACTIVE_MODEL_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.