Exemple #1
0
 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;
 }
Exemple #2
0
        public void UpdateTableScaleX(string id, int value)
        {
            Table t = tables[id];

            t.ScaleX = value;
        }
Exemple #3
0
        public void UpdateTableShape(string id, TableShape shape)
        {
            Table t = tables[id];

            t.Shape = shape;
        }
Exemple #4
0
        public void UpdateTableColor(string id, string color)
        {
            Table t = tables[id];

            t.Color = color;
        }
Exemple #5
0
        public void UpdateTableName(string id, string name)
        {
            Table t = tables[id];

            t.Text = name;
        }
Exemple #6
0
        public void UpdateTableRotateAngle(string id, int value)
        {
            Table t = tables[id];

            t.RotateAngle = value;
        }