WorldClock/Scripts/ClockLibrary.cs
/// <summary>
/// Returns the WorldClock represented by the passed ID
/// </summary>
/// <param name="ID">The ClockID of the <see cref="WorldClock"/> you would like to get a reference to.</param>
/// <returns>A reference to the <see cref="WorldClock"/>. Null if the clock does not exist.</returns>
Returns the WorldClock represented by the passed ID
Returns the WorldClock represented by the passed ID
public WorldClock GetClock(string ID)
    {
        if (allClocks.ContainsKey(ID))
            return allClocks[ID];
        else
            return null;
    }
public WorldClock GetClock ( string ID ) { if ( allClocks . ContainsKey ( ID ) ) return allClocks [ ID ] ; else return null ; }
Returns the WorldClock represented by the passed ID
Returns the WorldClock represented by the passed ID
A reference to the . Null if the clock does not exist.
A reference to the . Null if the clock does not exist .
ID
string
The ClockID of the  you would like to get a reference to.
The ClockID of the you would like to get a reference to .