Last change
on this file since 5054 was
5040,
checked in by bensch, 19 years ago
|
orxonox/trunk: inventing a new Way to get all the different kinds of User-Interface-Control below one hat.
This should be the ground-stone for all the different Camera-Modi as proposed in ticket:60 and ticket:61.
Maybe, there will be a better idea soon. In this case i would not implement, what i am doing here. :/
|
File size:
1.3 KB
|
Rev | Line | |
---|
[4744] | 1 | /* |
---|
[1853] | 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. |
---|
[1855] | 10 | |
---|
| 11 | ### File Specific: |
---|
[5040] | 12 | main-programmer: Benjamin Grauer |
---|
[1855] | 13 | co-programmer: ... |
---|
[1853] | 14 | */ |
---|
| 15 | |
---|
[3955] | 16 | //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ |
---|
[1853] | 17 | |
---|
[5040] | 18 | #include "user_control.h" |
---|
[1853] | 19 | |
---|
[1856] | 20 | using namespace std; |
---|
[1853] | 21 | |
---|
[3245] | 22 | /** |
---|
[4838] | 23 | * standard constructor |
---|
| 24 | * @todo this constructor is not jet implemented - do it |
---|
[3245] | 25 | */ |
---|
[5040] | 26 | UserControl::UserControl () |
---|
[3365] | 27 | { |
---|
[5040] | 28 | this->setClassID(CL_USER_CONTROL, "UserControl"); |
---|
[4320] | 29 | |
---|
| 30 | /* If you make a new class, what is most probably the case when you write this file |
---|
| 31 | don't forget to: |
---|
| 32 | 1. Add the new file new_class.cc to the ./src/Makefile.am |
---|
[4744] | 33 | 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS |
---|
[4320] | 34 | |
---|
| 35 | Advanced Topics: |
---|
| 36 | - if you want to let your object be managed via the ObjectManager make sure to read |
---|
| 37 | the object_manager.h header comments. You will use this most certanly only if you |
---|
[4744] | 38 | make many objects of your class, like a weapon bullet. |
---|
[4320] | 39 | */ |
---|
[3365] | 40 | } |
---|
[1853] | 41 | |
---|
| 42 | |
---|
[3245] | 43 | /** |
---|
[4838] | 44 | * standard deconstructor |
---|
[3245] | 45 | */ |
---|
[5040] | 46 | UserControl::~UserControl () |
---|
[3543] | 47 | { |
---|
| 48 | // delete what has to be deleted here |
---|
| 49 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.