Exemplo n.º 1
0
 public static void SetFrame(DMIState state, Image <Rgba32> image, DirectionDepth depth, StateDirection direction, int frame)
 {
     if (depth == DirectionDepth.One)
     {
         state.SetFrame(image, frame);
     }
     else
     {
         state.SetFrame(image, direction, frame);
     }
 }
Exemplo n.º 2
0
 public StateMetadata(string name, DirectionDepth directionDepth, int frames)
 {
     State  = name;
     Dirs   = (int)directionDepth;
     Frames = frames;
 }