Implementation of Scene class