- IHost.Sleep(long duration); VM case "sleep" forwards the raw operand. - 8 non-Godot hosts no-op Sleep; RecordingHost records it. - SleepDispatchTests (51 green); sweep unchanged 284 exit / 13 STEP-LIMIT. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
14 lines
467 B
C#
14 lines
467 B
C#
namespace Age.Engine.Hosting;
|
|
public interface IHost
|
|
{
|
|
void ShowText(int offset, string text);
|
|
void WaitForInput();
|
|
void Sleep(long duration);
|
|
void CreateTexture(int slot, int width, int height);
|
|
void SetTexture(long resourceId, int slot);
|
|
void DrawTexture(int slot, int srcX, int srcY, int width, int height, int dstX, int dstY);
|
|
(int Width, int Height) GetTextureSize(int slot);
|
|
void PlayBgm(long id);
|
|
void PlayVoice(long id);
|
|
}
|