fireblade-ecs/Sources/FirebladeECS/System.swift

21 lines
339 B
Swift

//
// System.swift
// FirebladeECS
//
// Created by Christian Treffs on 08.10.17.
//
public enum SystemState {
case running, paused, inactive
}
public protocol System: class {
//var state: SystemState { set get }
func startup()
func shutdown()
}
public protocol EntitySystem: System {
//TODO: var systemFamily: Family { get }
}