This commit is contained in:
Christian Treffs 2020-08-04 17:26:17 +02:00
parent 35f733bd96
commit 8229254e99
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
3 changed files with 13 additions and 13 deletions

View File

@ -11,7 +11,7 @@ lintErrorOnly:
@swiftlint lint --quiet | grep error
# Git
precommit: lint genLinuxTests
precommit: generateCode lint genLinuxTests
submodule:
git submodule init

View File

@ -64,7 +64,7 @@ extension Nexus {
/// Families with the same requirements provide a view on the same collection of entities (aka members).
/// A family conforms to the `LazySequenceProtocol` and therefore can be accessed like any other (lazy) sequence.
///
/// **General usage:**
/// **General usage**
/// ```swift
/// let family = nexus.family(requires: Comp1.self)
/// // iterate each entity's components
@ -72,7 +72,7 @@ extension Nexus {
/// ...
/// }
/// ```
/// **Note:**
/// **Caveats**
/// - Component types must be unique per family
/// - Component type order is arbitrary
///
@ -156,7 +156,7 @@ extension Nexus {
/// Families with the same requirements provide a view on the same collection of entities (aka members).
/// A family conforms to the `LazySequenceProtocol` and therefore can be accessed like any other (lazy) sequence.
///
/// **General usage:**
/// **General usage**
/// ```swift
/// let family = nexus.family(requiresAll: Comp1.self, Comp2.self)
/// // iterate each entity's components
@ -164,7 +164,7 @@ extension Nexus {
/// ...
/// }
/// ```
/// **Note:**
/// **Caveats**
/// - Component types must be unique per family
/// - Component type order is arbitrary
///
@ -255,7 +255,7 @@ extension Nexus {
/// Families with the same requirements provide a view on the same collection of entities (aka members).
/// A family conforms to the `LazySequenceProtocol` and therefore can be accessed like any other (lazy) sequence.
///
/// **General usage:**
/// **General usage**
/// ```swift
/// let family = nexus.family(requiresAll: Comp1.self, Comp2.self, Comp3.self)
/// // iterate each entity's components
@ -263,7 +263,7 @@ extension Nexus {
/// ...
/// }
/// ```
/// **Note:**
/// **Caveats**
/// - Component types must be unique per family
/// - Component type order is arbitrary
///
@ -361,7 +361,7 @@ extension Nexus {
/// Families with the same requirements provide a view on the same collection of entities (aka members).
/// A family conforms to the `LazySequenceProtocol` and therefore can be accessed like any other (lazy) sequence.
///
/// **General usage:**
/// **General usage**
/// ```swift
/// let family = nexus.family(requiresAll: Comp1.self, Comp2.self, Comp3.self, Comp4.self)
/// // iterate each entity's components
@ -369,7 +369,7 @@ extension Nexus {
/// ...
/// }
/// ```
/// **Note:**
/// **Caveats**
/// - Component types must be unique per family
/// - Component type order is arbitrary
///
@ -474,7 +474,7 @@ extension Nexus {
/// Families with the same requirements provide a view on the same collection of entities (aka members).
/// A family conforms to the `LazySequenceProtocol` and therefore can be accessed like any other (lazy) sequence.
///
/// **General usage:**
/// **General usage**
/// ```swift
/// let family = nexus.family(requiresAll: Comp1.self, Comp2.self, Comp3.self, Comp4.self, Comp5.self)
/// // iterate each entity's components
@ -482,7 +482,7 @@ extension Nexus {
/// ...
/// }
/// ```
/// **Note:**
/// **Caveats**
/// - Component types must be unique per family
/// - Component type order is arbitrary
///

View File

@ -103,7 +103,7 @@ extension Nexus {
/// Families with the same requirements provide a view on the same collection of entities (aka members).
/// A family conforms to the `LazySequenceProtocol` and therefore can be accessed like any other (lazy) sequence.
///
/// **General usage:**
/// **General usage**
/// ```swift
/// let family = nexus.family({% if components.count == 1 %}requires{% else %}requiresAll{%endif%}: {{ CompsSelf }})
/// // iterate each entity's components
@ -111,7 +111,7 @@ extension Nexus {
/// ...
/// }
/// ```
/// **Note:**
/// **Caveats**
/// - Component types must be unique per family
/// - Component type order is arbitrary
///