Update README

This commit is contained in:
Christian Treffs 2020-08-21 08:40:52 +02:00
parent f3cfe64b7d
commit 3d98ce9a53
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ import PackageDescription
let package = Package( let package = Package(
name: "YourPackageName", name: "YourPackageName",
dependencies: [ dependencies: [
.package(url: "https://github.com/fireblade-engine/ecs.git", from: "0.15.3") .package(url: "https://github.com/fireblade-engine/ecs.git", from: "0.15.4")
], ],
targets: [ targets: [
.target( .target(
@ -71,7 +71,7 @@ then create entities by letting the `Nexus` generate them.
let newEntity = nexus.createEntity() let newEntity = nexus.createEntity()
``` ```
To define components conform your class to the `Component` protocol To define components, conform your class to the `Component` protocol
```swift ```swift
final class Position: Component { final class Position: Component {