From 5fdbb6a0943ff5a377aa0615279e7010953506fe Mon Sep 17 00:00:00 2001 From: dk Date: Mon, 13 Jul 2020 17:30:03 -0700 Subject: [PATCH] cache getter and clear methods were not implemented (#585) --- d2core/d2asset/animation_manager.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d2core/d2asset/animation_manager.go b/d2core/d2asset/animation_manager.go index 6a770c72..bf90fe54 100644 --- a/d2core/d2asset/animation_manager.go +++ b/d2core/d2asset/animation_manager.go @@ -24,11 +24,11 @@ type animationManager struct { } func (am *animationManager) ClearCache() { - panic("implement me") + am.cache.Clear() } func (am *animationManager) GetCache() d2interface.Cache { - panic("implement me") + return am.cache } func createAnimationManager(renderer d2interface.Renderer) *animationManager {