Cleanups in code

This commit is contained in:
Christian Treffs 2018-09-27 21:13:21 +02:00
parent d0ec57991c
commit af2af17433
5 changed files with 2 additions and 5 deletions

View File

@ -5,7 +5,6 @@
// Created by Christian Treffs on 22.10.17.
//
// MARK: - get components
public extension Entity {
final func get<C>() -> C? where C: Component {

View File

@ -5,8 +5,6 @@
// Created by Christian Treffs on 08.10.17.
//
// MARK: Unique Entity Index
public typealias EntityIdentifier = UInt32 // provides 4294967295 unique identifiers
public typealias EntityIndex = Int

View File

@ -4,6 +4,7 @@
//
// Created by Christian Treffs on 08.10.17.
//
public protocol ECSEvent {}
public struct EntityCreated: ECSEvent {

View File

@ -5,7 +5,6 @@
// Created by Christian Treffs on 08.10.17.
//
// MARK: - family
public final class Family: Equatable {
public weak var nexus: Nexus?

View File

@ -4,7 +4,7 @@
//
// Created by Christian Treffs on 09.10.17.
//
import Swift
public struct FamilyTraitSet: CustomStringConvertible, CustomDebugStringConvertible {
public let requiresAll: ComponentSet