iOS entity-base game engine written in Swift