Update README
This commit is contained in:
parent
a6cbbc9170
commit
116b3841df
|
|
@ -1,7 +1,7 @@
|
|||
# Fireblade ECS (Entity-Component-System)
|
||||
[](https://travis-ci.com/fireblade-engine/ecs)
|
||||
[](LICENSE)
|
||||
[](#)
|
||||
[](https://swift.org/download)
|
||||
[](#)
|
||||
[](#)
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ import PackageDescription
|
|||
let package = Package(
|
||||
name: "YourPackageName",
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/fireblade-engine/ecs.git", from: "0.9.1")
|
||||
.package(url: "https://github.com/fireblade-engine/ecs.git", from: "0.10.0")
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
|
|
@ -208,8 +208,8 @@ nexus.family(requires: Position.self)
|
|||
.forEach { (parent: Position, child: Position) in
|
||||
// parent: the current parent component
|
||||
// child: the current child component
|
||||
|
||||
// update you components hierarchically
|
||||
|
||||
// update your components hierarchically
|
||||
child.x += parent.x
|
||||
child.y += parent.y
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue