Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

level length #30

Merged
merged 6 commits into from
Oct 21, 2023
Merged

level length #30

merged 6 commits into from
Oct 21, 2023

Conversation

flightlex
Copy link
Contributor

System.TimeSpan && Int32 (Seconds)

@@ -14,26 +14,59 @@ public enum SpeedBlockId
}

[GameBlock(200, 201, 202, 203, 1334)]
public class SpeedBlock : Block
public class SpeedBlock : Portal, IComparable<SpeedBlock>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IComparable in the class means a complete match.
Instead of we can use IComparer for specific needs

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I'll just left only OrderBy and array, because that's enough

@Folleach Folleach merged commit f9fb419 into Folleach:master Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants