blender/source
Porteries Tristan 7730391d74 BGE: subclass with more than 1 argument, D1237
In the BGE you can't create a subclass with more than 1 argument like : "player = Player(owner, 10)"
I have modified the py_base_new to check only the first argument of args tuple.
Now we can do :

    class Player(types.KX_GameObject):
        def __init__(self, gameobj, life):
            print("create new player :", self, ", life :", life)

    player = Player(own, 50)
2015-04-15 22:02:16 +10:00
..
blender BMesh: dyntopo used lopsided normals 2015-04-15 20:56:59 +10:00
blenderplayer Multi-View and Stereo 3D 2015-04-06 10:40:12 -03:00
creator OSX: add also license for iomp5 using cmake and fix all textfiles wrong destination 2015-04-06 19:55:51 +02:00
gameengine BGE: subclass with more than 1 argument, D1237 2015-04-15 22:02:16 +10:00
icons
CMakeLists.txt Move tests into tests/ top-level dir 2014-06-18 22:03:46 +10:00
SConscript