Code cleanup.

This commit is contained in:
2023-04-19 13:31:17 +08:00
parent f664708165
commit cf6a7a795b
9 changed files with 27 additions and 31 deletions

View File

@@ -14,6 +14,7 @@ namespace Cryville.Crtr.Event {
}
}
internal class MotionCachePool : CategorizedPool<int, MotionCache> {
public static MotionCachePool Shared;
private class Bucket : ObjectPool<MotionCache> {
readonly MotionRegistry _reg;
public Bucket(Identifier name, int capacity) : base(capacity) {