Made deltaTime object-based rather than system-based