public static Table GetOneTable(bool hasCaptain = true, int lastWordsCount = 2) { var t = new Table(); t.TheContext = new Context(); t.TheContext.LastWordsCount = lastWordsCount; t.hasCaptain = hasCaptain; return t; }
public void UpdateTableScaleX(string id, int value) { Table t = tables[id]; t.ScaleX = value; }
public void UpdateTableShape(string id, TableShape shape) { Table t = tables[id]; t.Shape = shape; }
public void UpdateTableColor(string id, string color) { Table t = tables[id]; t.Color = color; }
public void UpdateTableName(string id, string name) { Table t = tables[id]; t.Text = name; }
public void UpdateTableRotateAngle(string id, int value) { Table t = tables[id]; t.RotateAngle = value; }