/XSpriter/AnimationList.cs
C# | 15 lines | 14 code | 1 blank | 0 comment | 0 complexity | 0ebe5b63e95d2146438364db0915ba7b MD5 | raw file
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
-
- namespace FuncWorks.XNA.XSpriter
- {
- public class AnimationList : List<Animation>
- {
- public Animation this[string name]
- {
- get { return this.FirstOrDefault(x => x.Name.Equals(name)); }
- }
- }
- }