shipyard 0.6.2

Entity Component System
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Add Entity


When an entity is created you will receive a unique handle to it: an [`EntityId`](https://docs.rs/shipyard/latest/shipyard/struct.EntityId.html).

## World


```rust, noplaypen
{{#include ../../../../tests/book/add_entity.rs:world}}
```

## Views


```rust, noplaypen
{{#include ../../../../tests/book/add_entity.rs:view}}
```