mirror of
https://github.com/ppy/osu
synced 2024-12-22 06:50:42 +00:00
Improve comment of SetFrameFromTime.
This commit is contained in:
parent
3b0445a244
commit
1b03998b86
@ -2,17 +2,9 @@
|
|||||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using osu.Framework.Input.Handlers;
|
using osu.Framework.Input.Handlers;
|
||||||
using osu.Framework.MathUtils;
|
|
||||||
using osu.Framework.Platform;
|
using osu.Framework.Platform;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
using osu.Framework.Input;
|
|
||||||
using osu.Game.IO.Legacy;
|
|
||||||
using OpenTK.Input;
|
|
||||||
using KeyboardState = osu.Framework.Input.KeyboardState;
|
|
||||||
using MouseState = osu.Framework.Input.MouseState;
|
|
||||||
|
|
||||||
namespace osu.Game.Input.Handlers
|
namespace osu.Game.Input.Handlers
|
||||||
{
|
{
|
||||||
@ -29,7 +21,7 @@ namespace osu.Game.Input.Handlers
|
|||||||
/// This is to ensure accurate playback of replay data.
|
/// This is to ensure accurate playback of replay data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="time">The time which we should use for finding the current frame.</param>
|
/// <param name="time">The time which we should use for finding the current frame.</param>
|
||||||
/// <returns>The usable time value. If null, we shouldn't be running components reliant on this data.</returns>
|
/// <returns>The usable time value. If null, we should not advance time as we do not have enough data.</returns>
|
||||||
public abstract double? SetFrameFromTime(double time);
|
public abstract double? SetFrameFromTime(double time);
|
||||||
|
|
||||||
public override bool Initialize(GameHost host) => true;
|
public override bool Initialize(GameHost host) => true;
|
||||||
|
Loading…
Reference in New Issue
Block a user