Browse Source

Fix Lua bindings for AnimationSet2D and Vector2 classes.

Yao Wei Tjong 姚伟忠 10 years ago
parent
commit
770be2319e

+ 0 - 1
Source/Urho3D/LuaScript/pkgs/Math/Vector2.pkg

@@ -55,7 +55,6 @@ class IntVector2
     IntVector2 operator - (const IntVector2& rhs) const;
     IntVector2 operator * (int rhs) const;
     IntVector2 operator / (int rhs) const;
-    IntVector2 operator / (int rhs) const;
 
     String ToString() const;
 

+ 1 - 1
Source/Urho3D/LuaScript/pkgs/Urho2D/AnimationSet2D.pkg

@@ -3,8 +3,8 @@ $#include "Urho2D/AnimationSet2D.h"
 class AnimationSet2D : Resource
 {
     unsigned GetNumAnimations() const;
-    Animation2D* GetAnimation(unsigned index) const;
     Animation2D* GetAnimation(const String name) const;
+    Animation2D* GetAnimation(unsigned index) const;
 
     tolua_readonly tolua_property__get_set unsigned numAnimations;
 };