implemented shared_ptr for View in Game