Skip to content

Commit 3c368a2

Browse files
committed
Added some clarifying doc comments on DateDelta/Time.
1 parent 3e1e2fe commit 3c368a2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Nu/Nu/World/WorldTypes.fs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2016,11 +2016,13 @@ and [<NoEquality; NoComparison>] World =
20162016
member this.GameTime =
20172017
AmbientState.getGameTime this.AmbientState
20182018

2019-
/// Get the amount of date time that has transpired between this and the previous frame.
2019+
/// Get the amount of date time that has transpired between this and the previous frame. This value is independent
2020+
/// of whether the world was or is advancing.
20202021
member this.DateDelta =
20212022
AmbientState.getDateDelta this.AmbientState
20222023

2023-
/// Get the date time as of the start of this frame.
2024+
/// Get the date time as of the start of this frame. This value is independent of whether the world was or is
2025+
/// advancing.
20242026
member this.DateTime =
20252027
AmbientState.getDateTime this.AmbientState
20262028

0 commit comments

Comments
 (0)