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,
00017 __repr,
00018 0,
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}
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
00049 } else
00050 {
00051
00052 }
00053 }