Add component documentation

This commit is contained in:
Christian Treffs 2019-08-21 14:12:22 +02:00
parent bd20408bf6
commit 81b254480b
1 changed files with 4 additions and 0 deletions

View File

@ -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 }