From 1d1210d7932b287d66e27157701b92df764528cb Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 5 Nov 2018 07:33:41 +0800 Subject: =?UTF-8?q?+=E7=8A=B6=E6=80=81=E6=9C=BA=E6=B5=8B=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/animations/je_animator.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/libjin/Graphics/animations/je_animator.h') diff --git a/src/libjin/Graphics/animations/je_animator.h b/src/libjin/Graphics/animations/je_animator.h index 84b0385..6510a7d 100644 --- a/src/libjin/Graphics/animations/je_animator.h +++ b/src/libjin/Graphics/animations/je_animator.h @@ -24,8 +24,7 @@ namespace JinEngine bool hasKey(const std::string& key); void play(); - void switchAnimationByKey(const std::string& key); - void switchAnimation(const Animation* clip); + void switchAnimation(const std::string& key); /// /// Control clips. @@ -44,7 +43,7 @@ namespace JinEngine }; - } + } // namespace Animations } // namespace Graphics } // namespace JinEngine -- cgit v1.1-26-g67d0