Add component documentation
This commit is contained in:
parent
bd20408bf6
commit
81b254480b
|
|
@ -5,6 +5,10 @@
|
|||
// Created by Christian Treffs on 08.10.17.
|
||||
//
|
||||
|
||||
/// **Component**
|
||||
///
|
||||
/// A component represents the raw data for one aspect of the object,
|
||||
/// and how it interacts with the world.
|
||||
public protocol Component: class {
|
||||
static var identifier: ComponentIdentifier { get }
|
||||
var identifier: ComponentIdentifier { get }
|
||||
|
|
|
|||
Loading…
Reference in New Issue