Closed tom-arrow closed 6 years ago
2 options:
1. RulesetContainer<TPlayfield, TObject> should be derived instead of RulesetContainer<TObject> That would mean there's a typo here: https://github.com/ppy/osu/blob/b9d63ee7b1e6cb27d1c516c6bb7a87e456353cb1/osu.Game/Rulesets/UI/RulesetContainer.cs#L158-L162 And OsuRulesetContainer should extend RulesetContainer<OsuPlayfield, OsuHitObject> https://github.com/ppy/osu/blob/58b551b98ee9d2d9017df8bb2f9aadc7af9eebf7/osu.Game.Rulesets.Osu/UI/OsuRulesetContainer.cs#L21
RulesetContainer<TPlayfield, TObject>
RulesetContainer<TObject>
OsuRulesetContainer
RulesetContainer<OsuPlayfield, OsuHitObject>
2. RulesetContainer<TObject> can be derived. These lines should be removed: https://github.com/ppy/osu/blob/b9d63ee7b1e6cb27d1c516c6bb7a87e456353cb1/osu.Game/Rulesets/UI/RulesetContainer.cs#L157-L159
2 options:
1.
RulesetContainer<TPlayfield, TObject>
should be derived instead ofRulesetContainer<TObject>
That would mean there's a typo here: https://github.com/ppy/osu/blob/b9d63ee7b1e6cb27d1c516c6bb7a87e456353cb1/osu.Game/Rulesets/UI/RulesetContainer.cs#L158-L162 AndOsuRulesetContainer
should extendRulesetContainer<OsuPlayfield, OsuHitObject>
https://github.com/ppy/osu/blob/58b551b98ee9d2d9017df8bb2f9aadc7af9eebf7/osu.Game.Rulesets.Osu/UI/OsuRulesetContainer.cs#L212.
RulesetContainer<TObject>
can be derived. These lines should be removed: https://github.com/ppy/osu/blob/b9d63ee7b1e6cb27d1c516c6bb7a87e456353cb1/osu.Game/Rulesets/UI/RulesetContainer.cs#L157-L159