Example #1
0
        public Map()
        {
            Definitions = new SegmentDefinition[512];
            Segments    = new MapSegment[3, 64];
            Grid        = new int[20, 20];
            Ledges      = EnumerableHelper.Array <Ledge>(16);

            ReadDefinitions();
        }
Example #2
0
 public Animation()
 {
     Name      = string.Empty;
     KeyFrames = EnumerableHelper.Array <KeyFrame>(KeyFramesCount);
 }
Example #3
0
 public CharacterDefinition()
 {
     Animations = EnumerableHelper.Array <Animation>(AnimationsCount);
     Frames     = EnumerableHelper.Array <Frame>(FramesCount);
 }
Example #4
0
 public Frame()
 {
     Parts = EnumerableHelper.Array <Part>(PartsCount);
     _name = string.Empty;
 }
Example #5
0
 public KeyFrame()
 {
     FrameReference = -1;
     Scripts        = EnumerableHelper.Array(4, string.Empty);
 }