BGE API cleanup: more consistent type check on set attribute (mouse and keyboard...
authorBenoit Bolsee <benoit.bolsee@online.be>
Tue, 30 Dec 2008 16:44:34 +0000 (16:44 +0000)
committerBenoit Bolsee <benoit.bolsee@online.be>
Tue, 30 Dec 2008 16:44:34 +0000 (16:44 +0000)
commitcbceb6c8b2806587a45e05946cb591bd119cc801
tree2026fa2225120699ebfa37db18938cfbe1ecf390
parentcbc3c7e8785d21490346d4c2eed8380de6ede378
BGE API cleanup: more consistent type check on set attribute (mouse and keyboard so far). Check type after name so that the user get a type error when assigning a wrong type to a built-in attribute.
source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
source/gameengine/GameLogic/SCA_MouseSensor.cpp