Module GameTypes :: Class SCA_NANDController
[hide private]
[frames] | no frames]

Class SCA_NANDController

source code

PyObjectPlus --+            
               |            
          CValue --+        
                   |        
     SCA_ILogicBrick --+    
                       |    
         SCA_IController --+
                           |
                          SCA_NANDController

An NAND controller activates when all linked sensors are not active.

There are no special python methods for this controller.

Instance Methods [hide private]
    Deprecated
    Inherited from SCA_IController
SCA_IActuator
getActuator(name)
Gets the named linked actuator.
source code
list [SCA_IActuator]
getActuators()
Gets a list of all actuators linked to this controller.
source code
SCA_ISensor
getSensor(name)
Gets the named linked sensor.
source code
list [SCA_ISensor]
getSensors()
Gets a list of all sensors attached to this controller.
source code
int
getState()
Get the controllers state bitmask, this can be used with the GameObject's state to test if the the controller is active.
source code
    Inherited from SCA_ILogicBrick
integer
getExecutePriority()
Gets the execution priority of this logic brick.
source code
KX_GameObject
getOwner()
Gets the game object associated with this logic brick.
source code
 
setExecutePriority(priority)
Sets the priority of this logic brick.
source code
    Inherited from CValue
string
getName()
Returns the name of the CValue.
source code
    Inherited from PyObjectPlus
bool
isA(game_type)
Check if this is a type or a subtype game_type.
source code
Instance Variables [hide private]
    Inherited from SCA_IController
sequence supporting index/string lookups and iteration. actuators
a list of actuators linked to this controller.
sequence supporting index/string lookups and iteration. sensors
a list of sensors linked to this controller
int bitmask state
the controllers state bitmask.
bool useHighPriority
When set the controller executes always before all other controllers that dont have this set.
    Inherited from SCA_ILogicBrick
int executePriority
This determines the order controllers are evaluated, and actuators are activated (lower priority is executed first).
string name
The name of this CValue derived object (read-only).
KX_GameObject or None in exceptional cases. owner
The game object this logic brick is attached to (read-only).
    Inherited from PyObjectPlus
bool invalid
Test if the object has been freed by the game engine and is no longer valid.