Esempio n. 1
0
 /// <summary> Returns on which layer the storyboard sample will play (e.g. Fail or Pass). </summary>
 private Layer GetLayer(string[] args) =>
 ParserStatic.GetEnumMatch <Layer>(args[2]) ?? Layer.Unknown;
Esempio n. 2
0
 /// <summary> Returns the local origin of the sprite, determining around which point it is transformed
 /// (e.g. TopLeft, Center, or Bottom). </summary>
 private Origin GetOrigin(string[] args) =>
 ParserStatic.GetEnumMatch <Origin>(args[2]) ?? Origin.Unknown;