Successfully implmented physics system
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ class EntityManager{
|
|||||||
|
|
||||||
public void removeEntity(int entity){
|
public void removeEntity(int entity){
|
||||||
unusedEntities.add(entity);
|
unusedEntities.add(entity);
|
||||||
entityRegistrations.set(entity, new BitSet());
|
entityRegistrations.get(entity).clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void registerComponent(int component, int entity){
|
public void registerComponent(int component, int entity){
|
||||||
|
|||||||
Reference in New Issue
Block a user