forgot to rename SendMessageDelayed on WorldBuilder

pull/5/head
Evan Hemsley 2019-11-25 19:37:03 -08:00
parent 1424ae8593
commit 2a7e97463e
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ namespace Encompass
/// <summary>
/// Specifies that the given Message should be sent after the specified number of seconds after the first World Update.
/// </summary>
public void SendMessageDelayed<TMessage>(TMessage message, double time) where TMessage : struct, IMessage
public void SendMessage<TMessage>(TMessage message, double time) where TMessage : struct, IMessage
{
messageManager.AddMessageDelayed(message, time);
}

View File

@ -502,7 +502,7 @@ namespace Tests
var worldBuilder = new WorldBuilder();
worldBuilder.AddEngine(new ReadMessageEngine());
worldBuilder.SendMessageDelayed(new AMessage { }, 0.5);
worldBuilder.SendMessage(new AMessage { }, 0.5);
var world = worldBuilder.Build();