spawnBundle method

WorldEntity spawnBundle(
  1. Bundle bundle
)

Spawns and returns the entity wrapped by bundle.

Implementation

WorldEntity spawnBundle(Bundle bundle) => spawn(Some(bundle.components));