internal GameLayer(ClientResourceLocator resourceLocator, ChartInfo chartInfo, AutoPlayTargets autoPlay = AutoPlayTargets.None) : base(resourceLocator, "game/main") { m_locator = resourceLocator; m_chartInfo = chartInfo; m_autoPlay = autoPlay; m_gaugeType = GaugeType.Normal; m_background = new ScriptableBackground(m_locator); }
internal GameLayer(ClientResourceLocator resourceLocator, Chart chart, AudioTrack audio, AutoPlay autoPlay = AutoPlay.None) { m_locator = resourceLocator; m_resources = new ClientResourceManager(resourceLocator); m_chart = chart; m_audio = audio; m_autoPlay = autoPlay; m_highwayView = new HighwayView(m_locator); m_background = new ScriptableBackground(m_locator); }