Successfully implmented physics system
This commit is contained in:
parent
2192a4e93b
commit
5aeb91d28f
@ -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){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user