Ejemplo n.º 1
0
 public Unit(Unit set_from)
 {
     x_coordinate      = set_from.x_coordinate;
     y_coordinate      = set_from.y_coordinate;
     unit_name         = set_from.unit_name;
     perception_data   = set_from.perception_data;
     current_location  = set_from.current_location;
     previous_location = set_from.previous_location;
     unit_image        = set_from.unit_image;
 }
Ejemplo n.º 2
0
        public Unit()
        {
            perception_data = new PerceptionState();
            unit_name       = null;

            x_coordinate = 0;
            y_coordinate = 0;

            current_location  = null;
            previous_location = null;
        }