4
* $Id: SCA_NANDController.h 15444 2008-07-05 17:05:05Z lukep $
6
* ***** BEGIN GPL LICENSE BLOCK *****
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU General Public License
10
* as published by the Free Software Foundation; either version 2
11
* of the License, or (at your option) any later version.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software Foundation,
20
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
23
* All rights reserved.
25
* The Original Code is: all of this file.
27
* Contributor(s): none yet.
29
* ***** END GPL LICENSE BLOCK *****
32
#ifndef __KX_NANDCONTROLLER
33
#define __KX_NANDCONTROLLER
35
#include "SCA_IController.h"
37
class SCA_NANDController : public SCA_IController
40
//virtual void Trigger(class SCA_LogicManager* logicmgr);
42
SCA_NANDController(SCA_IObject* gameobj,PyTypeObject* T=&Type);
43
virtual ~SCA_NANDController();
44
virtual CValue* GetReplica();
45
virtual void Trigger(SCA_LogicManager* logicmgr);
47
/* --------------------------------------------------------------------- */
48
/* Python interface ---------------------------------------------------- */
49
/* --------------------------------------------------------------------- */
51
virtual PyObject* _getattr(const STR_String& attr);
55
#endif //__KX_NANDCONTROLLER
4
* $Id: SCA_NANDController.h 19826 2009-04-20 23:17:52Z campbellbarton $
6
* ***** BEGIN GPL LICENSE BLOCK *****
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU General Public License
10
* as published by the Free Software Foundation; either version 2
11
* of the License, or (at your option) any later version.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software Foundation,
20
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
23
* All rights reserved.
25
* The Original Code is: all of this file.
27
* Contributor(s): none yet.
29
* ***** END GPL LICENSE BLOCK *****
32
#ifndef __KX_NANDCONTROLLER
33
#define __KX_NANDCONTROLLER
35
#include "SCA_IController.h"
37
class SCA_NANDController : public SCA_IController
40
//virtual void Trigger(class SCA_LogicManager* logicmgr);
42
SCA_NANDController(SCA_IObject* gameobj,PyTypeObject* T=&Type);
43
virtual ~SCA_NANDController();
44
virtual CValue* GetReplica();
45
virtual void Trigger(SCA_LogicManager* logicmgr);
47
/* --------------------------------------------------------------------- */
48
/* Python interface ---------------------------------------------------- */
49
/* --------------------------------------------------------------------- */
51
virtual PyObject* py_getattro(PyObject *attr);
52
virtual PyObject* py_getattro_dict();
56
#endif //__KX_NANDCONTROLLER