2021-07-28 16:48:59 +02:00
|
|
|
import Combine from "../Base/Combine"
|
2022-08-06 17:30:23 +02:00
|
|
|
import MapState from "../../Logic/State/MapState"
|
|
|
|
import LevelSelector from "./LevelSelector"
|
2021-07-28 16:48:59 +02:00
|
|
|
|
|
|
|
export default class RightControls extends Combine {
|
2023-03-24 19:21:15 +01:00
|
|
|
constructor(state: MapState & { featurePipeline: FeaturePipeline }) {
|
2022-08-06 17:30:23 +02:00
|
|
|
const levelSelector = new LevelSelector(state)
|
2023-03-24 19:21:15 +01:00
|
|
|
super([levelSelector].map((el) => el.SetClass("m-0.5 md:m-1")))
|
2021-08-19 23:41:48 +02:00
|
|
|
this.SetClass("flex flex-col items-center")
|
2021-07-28 16:48:59 +02:00
|
|
|
}
|
|
|
|
}
|