public Nyoki(NyokiTypes type, NyokiPanel panel) { Type = type; Position = NyokiPosition.CreatePosition(panel); }
/// <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 };