Update README

This commit is contained in:
Christian Treffs 2019-10-01 11:41:35 +02:00
parent a6cbbc9170
commit 116b3841df
1 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Fireblade ECS (Entity-Component-System)
[![Build Status](https://travis-ci.com/fireblade-engine/ecs.svg?branch=master)](https://travis-ci.com/fireblade-engine/ecs)
[![license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)
[![swift version](https://img.shields.io/badge/swift-5.0+-brightgreen.svg)](#)
[![swift version](https://img.shields.io/badge/swift-5.0+-brightgreen.svg)](https://swift.org/download)
[![platforms](https://img.shields.io/badge/platforms-%20macOS%20|%20iOS%20|%20tvOS%20|%20watchOS-brightgreen.svg)](#)
[![platforms](https://img.shields.io/badge/platforms-linux-brightgreen.svg)](#)
@ -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
}