Line | |
---|
1 | |
---|
2 | |
---|
3 | /* |
---|
4 | orxonox - the future of 3D-vertical-scrollers |
---|
5 | |
---|
6 | Copyright (C) 2005 orx |
---|
7 | |
---|
8 | This program is free software; you can redistribute it and/or modify |
---|
9 | it under the terms of the GNU General Public License as published by |
---|
10 | the Free Software Foundation; either version 2, or (at your option) |
---|
11 | any later version. |
---|
12 | |
---|
13 | ### File Specific: |
---|
14 | main-programmer: hdavid, stefalie |
---|
15 | co-programmer: |
---|
16 | */ |
---|
17 | |
---|
18 | #include "movie_entity.h" |
---|
19 | #include "fast_factory.h" |
---|
20 | |
---|
21 | using namespace std; |
---|
22 | |
---|
23 | CREATE_FAST_FACTORY_STATIC(MovieEntity, CL_MOVIE_ENTITY); |
---|
24 | |
---|
25 | /** |
---|
26 | * standard constructor |
---|
27 | */ |
---|
28 | MovieEntity::MovieEntity (const TiXmlElement* root) |
---|
29 | { |
---|
30 | this->setClassID(CL_MOVIE_ENTITY, "MovieEntity"); |
---|
31 | |
---|
32 | counter = 0; |
---|
33 | timer = 0; |
---|
34 | //this->model = (Model*) ResourceManager::getInstance()->load("cube", RP_LEVEL); |
---|
35 | } |
---|
36 | |
---|
37 | /** |
---|
38 | * standard destructor |
---|
39 | */ |
---|
40 | MovieEntity::~MovieEntity () |
---|
41 | { |
---|
42 | } |
---|
43 | |
---|
44 | |
---|
45 | /** |
---|
46 | * this method is called every frame |
---|
47 | * @param time: the time in seconds that has passed since the last tick |
---|
48 | |
---|
49 | Handle all stuff that should update with time inside this method (movement, animation, etc.) |
---|
50 | */ |
---|
51 | void MovieEntity::tick(float time) |
---|
52 | { |
---|
53 | |
---|
54 | } |
---|
55 | |
---|
56 | |
---|
57 | /** |
---|
58 | * the entity is drawn onto the screen with this function |
---|
59 | |
---|
60 | This is a central function of an entity: call it to let the entity painted to the screen. Just override this function with whatever you want to be drawn. |
---|
61 | */ |
---|
62 | void MovieEntity::draw() const |
---|
63 | { |
---|
64 | |
---|
65 | } |
---|
66 | |
---|
67 | void MovieEntity::loadParams(const TiXmlElement* root) |
---|
68 | { |
---|
69 | |
---|
70 | } |
---|
71 | |
---|
72 | void MovieEntity::loadMovie(const char* filename) |
---|
73 | { |
---|
74 | |
---|
75 | } |
---|
76 | |
---|
Note: See
TracBrowser
for help on using the repository browser.