00001 #include <game.h> 00002 00003 staticMesh::staticMesh() : node(0), id(-1) 00004 { 00005 00006 } 00007 00008 staticMesh::~staticMesh() 00009 { 00010 00011 } 00012 00013 int staticMesh::init(int i, IAnimatedMeshSceneNode* n) 00014 { 00015 id = i; 00016 node = n; 00017 node->setID(id); 00018 return 1; 00019 } 00020 00021 int staticMesh::update() 00022 { 00023 return 1; 00024 } 00025 00026 int staticMesh::close() 00027 { 00028 return 1; 00029 } 00030 00031 IAnimatedMeshSceneNode* staticMesh::getNode() 00032 { 00033 return node; 00034 } 00035 00036 int staticMesh::getId() 00037 { 00038 return id; 00039 } 00040 00041 int staticMesh::setVisible(bool v) 00042 { 00043 node->setVisible(v); 00044 return 1; 00045 } 00046 00047 00048