forgot to rename SendMessageDelayed on WorldBuilder
parent
1424ae8593
commit
2a7e97463e
|
@ -65,7 +65,7 @@ namespace Encompass
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Specifies that the given Message should be sent after the specified number of seconds after the first World Update.
|
/// Specifies that the given Message should be sent after the specified number of seconds after the first World Update.
|
||||||
/// </summary>
|
/// </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);
|
messageManager.AddMessageDelayed(message, time);
|
||||||
}
|
}
|
||||||
|
|
|
@ -502,7 +502,7 @@ namespace Tests
|
||||||
var worldBuilder = new WorldBuilder();
|
var worldBuilder = new WorldBuilder();
|
||||||
worldBuilder.AddEngine(new ReadMessageEngine());
|
worldBuilder.AddEngine(new ReadMessageEngine());
|
||||||
|
|
||||||
worldBuilder.SendMessageDelayed(new AMessage { }, 0.5);
|
worldBuilder.SendMessage(new AMessage { }, 0.5);
|
||||||
|
|
||||||
var world = worldBuilder.Build();
|
var world = worldBuilder.Build();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue