2D Object modified to work directly with resource manager