Last change
on this file since 3542 was
3399,
checked in by bensch, 20 years ago
|
orxonox/branches/nico: merged trunk into branches/nico
merged with command:
svn merge ../trunk/ nico/ -r 3238:HEAD
resolved conflict in favor of branches/nico.
|
File size:
794 bytes
|
Rev | Line | |
---|
[3302] | 1 | |
---|
| 2 | |
---|
| 3 | /* |
---|
| 4 | orxonox - the future of 3D-vertical-scrollers |
---|
| 5 | |
---|
| 6 | Copyright (C) 2004 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: Patrick Boenzli |
---|
| 15 | co-programmer: ... |
---|
| 16 | */ |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | #include "base_object.h" |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | using namespace std; |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | /** |
---|
| 26 | \brief standard constructor |
---|
| 27 | */ |
---|
| 28 | BaseObject::BaseObject () {} |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | /** |
---|
| 32 | \brief standard deconstructor |
---|
| 33 | */ |
---|
| 34 | BaseObject::~BaseObject () {} |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | void BaseObject::setClassName (char* className) |
---|
| 38 | { |
---|
| 39 | this->className = className; |
---|
| 40 | } |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | bool BaseObject::isA (char* className) |
---|
| 44 | { |
---|
| 45 | if( this->className == className) |
---|
| 46 | return false; |
---|
| 47 | return true; |
---|
| 48 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.