Ver Fonte

override KeyframeContent.ToString()

Nikos Kastellanos há 6 anos atrás
pai
commit
c2ca201bc3

+ 7 - 1
Animation/Animation/Keyframe.cs

@@ -49,6 +49,12 @@ namespace tainicom.Aether.Animation
             this._bone = bone;
             this._time = time;
             this._transform = transform;
-        }	
+        }
+
+        public override string ToString()
+        {
+            return string.Format("{{Time:{0} Bone:{1}}}",
+                new object[] { Time, Bone });
+        }
     }
 }

+ 6 - 0
Content.Pipeline/AnimationImporters/Animation/KeyframeContent.cs

@@ -31,5 +31,11 @@ namespace tainicom.Aether.Content.Pipeline.Animation
             this.Time = time;
             this.Transform = transform;
         }	
+
+        public override string ToString()
+        {
+            return string.Format("{{Time:{0} Bone:{1}}}",
+                new object[] { Time, Bone });
+        }
     }
 }