remove method
Removes a game entity as a child from this game entity.
Implementation
GameEntity remove(GameEntity entity ) {
final index = children.indexOf( entity );
children.removeAt( index );
entity.parent = null;
return this;
}
Removes a game entity as a child from this game entity.
GameEntity remove(GameEntity entity ) {
final index = children.indexOf( entity );
children.removeAt( index );
entity.parent = null;
return this;
}