Entity Component System (E.C.S)
Entity Component System (or E.C.S) is an organizational coding pattern. it provides an alternative to regular object oriented programming (O.O.P), but can still use objects in its implementation. One of the primary benefits of E.C.S is that is provides a means of fully separating state or data, and the logic that consumes it.
E.C.S consists of three separate "parts":
1) Entity - A unique identifier.
2) Component - just data, usually is a form of a struct.
3) System - A logic unit.