# Base class for maprotator part of game instance?

**URL:** <https://forums.unrealengine.com/t/base-class-for-maprotator-part-of-game-instance/38884>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [August 18, 2015, 1:28pm UTC](https://forums.unrealengine.com/t/base-class-for-maprotator-part-of-game-instance/38884 "2015-08-18T13:28:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fallonsnest](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fallonsnest](https://forums.unrealengine.com/u/Fallonsnest)\
**Post date:** [August 18, 2015, 1:28pm UTC](https://forums.unrealengine.com/t/base-class-for-maprotator-part-of-game-instance/38884/1 "2015-08-18T13:28:41Z")

</div>

Hey,

i’m implementing a map rotator for my game, which will be part of the game instance class (persistent)

It should support the following features:

- Using “UCLASS(config = game)”
- Configurable TSubclassOf\<MapRotator\> on the game instance (allow simple or more advanced map rotator)

So what is the best base class to use for my map rotator?  
UObject, no base class, … ?
