From 611d12bdd245dd43b7434661d3e24f2b435378cb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Nov 2018 21:21:54 +0800 Subject: =?UTF-8?q?*=E6=9B=B4=E6=96=B0=E6=B8=B2=E6=9F=93=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/animations/je_animation.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/libjin/Graphics/animations/je_animation.h') diff --git a/src/libjin/Graphics/animations/je_animation.h b/src/libjin/Graphics/animations/je_animation.h index 05e1d4f..9926cf9 100644 --- a/src/libjin/Graphics/animations/je_animation.h +++ b/src/libjin/Graphics/animations/je_animation.h @@ -30,7 +30,12 @@ namespace JinEngine /// /// Get current frame index. /// - uint getCurrentFrame(); + uint getCurrentFrameIndex(); + + /// + /// + /// + Sprite* getCurrentFrame(); /// /// Set current frame index. -- cgit v1.1-26-g67d0