コード例 #1
0
ファイル: testFramework.py プロジェクト: AveryEMcG/COSGame
    def testSample(self):
        testSystem = TestSystem()
        world = World([testSystem], [])

        testEntity = Entity()
        testEntity.id = 0
        world.entities.append(testEntity)

        testEntity2 = Entity()
        testEntity2.id = "This id should print too"
        world.entities.append(testEntity2)

        world.processSystems()