Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SCA_ILogicBrick.cpp

Go to the documentation of this file.
00001 #include "SCA_ILogicBrick.h"
00002 
00003 
00004 SCA_LogicManager*       SCA_ILogicBrick::m_sCurrentLogicManager = NULL;
00005 
00006 PyTypeObject SCA_ILogicBrick::Type = {
00007         PyObject_HEAD_INIT(&PyType_Type)
00008         0,
00009         "SCA_ILogicBrick",
00010         sizeof(SCA_ILogicBrick),
00011         0,
00012         PyDestructor,
00013         0,
00014         __getattr,
00015         __setattr,
00016         0, //&MyPyCompare,
00017         __repr,
00018         0, //&cvalue_as_number,
00019         0,
00020         0,
00021         0,
00022         0
00023 };
00024 
00025 PyParentObject SCA_ILogicBrick::Parents[] = {
00026         &SCA_ILogicBrick::Type,
00027         &CValue::Type,
00028         NULL
00029 };
00030 
00031 PyMethodDef SCA_ILogicBrick::Methods[] = {
00032   {"getOwner", (PyCFunction) SCA_ILogicBrick::sPyGetOwner, METH_VARARGS},
00033   {NULL,NULL} //Sentinel
00034 };
00035 
00036 PyObject*
00037 SCA_ILogicBrick::_getattr(char* attr)

00038 {
00039   _getattr_up(CValue);
00040 }
00041 
00042 
00043 void SCA_ILogicBrick::SetActive(bool active)

00044 {
00045         m_bActive=active;
00046         if (active)
00047         {
00048                 //m_gameobj->SetDebugColor(GetDrawColor());
00049         } else
00050         {
00051                 //m_gameobj->ResetDebugColor();
00052         }
00053 }

Generated at Thu Feb 1 13:03:10 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000