Exemple #1
0
 public Nyoki(NyokiTypes type, NyokiPanel panel)
 {
     Type     = type;
     Position = NyokiPosition.CreatePosition(panel);
 }
Exemple #2
0
 /// <summary>
 /// Creates position structure with position (0, 0) and user defined panel info
 /// </summary>
 /// <param name="panel">Desired panel to show nyoki</param>
 /// <returns>A NyokiPosition structure</returns>
 public static NyokiPosition CreatePosition(NyokiPanel panel) => new NyokiPosition
 {
     Panel = panel
 };