Пример #1
0
        public override void readFromString(string textBase)
        {
            string[] delimitter = { " " };
            string[] parts = textBase.Split(delimitter, StringSplitOptions.RemoveEmptyEntries);

            color = new Ent_color(parts[0]);

            vertex = new Ent_vertex(parts[1]);
        }
Пример #2
0
 public Ent_move(Ent_color _color, Ent_vertex _vertex)
 {
     color = _color;
     vertex = _vertex;
 }