Contains entities with the same set of components.
//componentsclass A {}class B {}//This table contains entities with component Aconst archetype1 = new Table()table.components.set("A",[])//This table contains entities with component A and Bconst archetype2 = new Table()table.components.set("A",[])table.components.set("B",[]) Copy
//componentsclass A {}class B {}//This table contains entities with component Aconst archetype1 = new Table()table.components.set("A",[])//This table contains entities with component A and Bconst archetype2 = new Table()table.components.set("A",[])table.components.set("B",[])
Readonly
It is up to the caller to ensure it fills all the columns on the row. See the method Table.insert for a safer method.
The allocated row should be immediately be filled with values before any other operation is done to the table.
Contains entities with the same set of components.
Example