@@ -0,0 +1,656 @@
+# This code is so you can run the samples without installing the package%0Aimport sys%0Aimport os%0Asys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))%0A#%0A%0A%0Aimport cocos%0Afrom cocos.director import director%0Afrom cocos.actions import  *%0Afrom cocos.sprite import Sprite%0Aimport pyglet%0A%0Aclass TestLayer(cocos.layer.Layer):%0A%0A    def _step( self, dt ):%0A        super(TestLayer,self)._step(dt)%0A        print 'shall not happen'%0A        print self.rotation%0A         %0A%0Aif __name__ == %22__main__%22:%0A    director.init()%0A    test_layer = TestLayer ()%0A    main_scene = cocos.scene.Scene()%0A    test_layer.do( RotateBy(360, duration=2) )%0A    director.run (main_scene)%0A

test if schedule actions in non running objects are executed