forgot to rename SendMessageDelayed on WorldBuilder
parent
1424ae8593
commit
2a7e97463e
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue