Component implementing entity-component-system pattern