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

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