diff --git a/Nibriboard/Client/LineIncubator.cs b/Nibriboard/Client/LineIncubator.cs index 1116b34..062b459 100644 --- a/Nibriboard/Client/LineIncubator.cs +++ b/Nibriboard/Client/LineIncubator.cs @@ -33,6 +33,22 @@ namespace Nibriboard.Client { } + /// + /// Figures out whether an incomplete line with the given id exists or not. + /// + /// The line id to check for. + public bool LineExists(Guid lineId) + { + if(currentLines[lineId] != null) + return true; + return false; + } + + /// + /// Adds a series of points to the incomplete line with the specified id. + /// + /// The line id to add the points to. + /// The points to add to the lines. public void AddBit(Guid lineId, List points) { // Create a new line if one doesn't exist already